Message ID | 20190526173535.32701-6-sam@ravnborg.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <intel-gfx-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1201091E for <patchwork-intel-gfx@patchwork.kernel.org>; Sun, 26 May 2019 17:36:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1AA428A92 for <patchwork-intel-gfx@patchwork.kernel.org>; Sun, 26 May 2019 17:36:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E23C528AA4; Sun, 26 May 2019 17:36:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 89C0728A92 for <patchwork-intel-gfx@patchwork.kernel.org>; Sun, 26 May 2019 17:36:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 112AC897B4; Sun, 26 May 2019 17:35:53 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7E9F4894FF; Sun, 26 May 2019 17:35:50 +0000 (UTC) Received: by mail-lj1-x242.google.com with SMTP id m15so12667604ljg.13; Sun, 26 May 2019 10:35:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ov3YiOQUhcSdLV9EpPx++/P7FQBeylt5HUv2IEfDl3I=; b=VcJdkianebGpHqIx3H9FWvzX8rv5AxiE8bVMNgwVkwYZ3iC4b0TM8TCereisM73HX/ 0GpTo+ZxJdWVJNbD/8oAZLuP05QqOlBSYEYLHxCjUEyOgpEErnbfw+GTD7jAUHiqBkDJ ffwQsa+7pESghHLVlXFhdvNbjwg/+YKLkE2YUT6KYxeBY+9JEmTSjtDkiVZwsVeuamld ZrxANEVuT94ZlDEbmRoWMtiQI/xvkKQ12K7XmceefC1+DRp45fwjwSUwQMFL76jEYJLM b7emK2jbCCZMXY7u/oP62KNzqOzILV55VBhyLgvIQFsLAYRACCtzm6j7ePtRCmj3wFqY fcag== X-Gm-Message-State: APjAAAVJuchk2WOkuBXHWuSPmIvaz/Rz/8LIOcSg6YwSXIPSR8Lth13U A2RMOt/MBOd0I/WNvW1QJ3a09njm X-Google-Smtp-Source: APXvYqzOwA2vDK7F7Wv4ls8Od5RV3yhBr6kvCIUYp//mg2R6nJ7YiqBKDo7XAcGjKV/+dAjLPZt+Pg== X-Received: by 2002:a2e:8583:: with SMTP id b3mr32861627lji.136.1558892148571; Sun, 26 May 2019 10:35:48 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id n9sm1774489ljj.10.2019.05.26.10.35.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 10:35:48 -0700 (PDT) From: Sam Ravnborg <sam@ravnborg.org> To: dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 19:35:33 +0200 Message-Id: <20190526173535.32701-6-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526173535.32701-1-sam@ravnborg.org> References: <20190526173535.32701-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ov3YiOQUhcSdLV9EpPx++/P7FQBeylt5HUv2IEfDl3I=; b=hK3MuhpcKP+OCq+P70VK4t/oOpIYnXSBejUPIWG3GSwLptx+2hikymYfYv/1eqQARQ GAV9PMeKBU4QQwqwATZpLbW/pkpGqChCoK1bJ7RsXAw9hjm4Oob+cyHBf3Acqqf/h861 jZ2jDcYxcMnzN4Q+bQb72Z3ylefJBq/1/pkRqSaL2k5WU6WI9HNxwAjG3xCRqKCpLN9S rlPIj+L6fVrauIssPXIiRBr3bJIirWL9+GaKFc79XEjOlMwlNgxklezvTXbtB9MRtYSw nepZcEoCfqcNmjVaUBLgc81jl1jspAZ2qRMTE2zI7kYA9B4OCZDO937UGIXWIaRVwmkG No/Q== Subject: [Intel-gfx] [PATCH v2 5/7] drm: make drm_legacy.h self-contained X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development <intel-gfx.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/intel-gfx> List-Post: <mailto:intel-gfx@lists.freedesktop.org> List-Help: <mailto:intel-gfx-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=subscribe> Cc: Maxime Ripard <maxime.ripard@bootlin.com>, Sam Ravnborg <sam@ravnborg.org>, intel-gfx@lists.freedesktop.org, David Airlie <airlied@linux.ie> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" <intel-gfx-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
drm: make headers self-contained and drop drmP.h
|
expand
|
diff --git a/drivers/gpu/drm/drm_legacy.h b/drivers/gpu/drm/drm_legacy.h index 013ccdfd90be..1be3ea320474 100644 --- a/drivers/gpu/drm/drm_legacy.h +++ b/drivers/gpu/drm/drm_legacy.h @@ -29,11 +29,15 @@ * drivers use them, and removing them are API breaks. */ #include <linux/list.h> + +#include <drm/drm.h> +#include <drm/drm_device.h> #include <drm/drm_legacy.h> struct agp_memory; struct drm_device; struct drm_file; +struct drm_buf_desc; /* * Generic DRM Contexts
Do not require users of drm_legacy.h to include other files just to let it build Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Maxime Ripard <maxime.ripard@bootlin.com> Cc: Sean Paul <sean@poorly.run> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> --- drivers/gpu/drm/drm_legacy.h | 4 ++++ 1 file changed, 4 insertions(+)