All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: dri-devel@lists.freedesktop.org
Cc: Maxime Ripard <maxime.ripard@bootlin.com>,
	Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@linux.ie>,
	Sean Paul <sean@poorly.run>
Subject: [PATCH v1 05/06] drm: make drm_legacy.h self-contained
Date: Sun, 19 May 2019 16:20:35 +0200	[thread overview]
Message-ID: <20190519142036.22861-6-sam@ravnborg.org> (raw)
In-Reply-To: <20190519142036.22861-1-sam@ravnborg.org>

Do not require users of drm_ilegacy.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(+)

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
-- 
2.20.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2019-05-19 14:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-19 14:20 [PATCH v1 0/6] drm: make headers self-contained Sam Ravnborg
2019-05-19 14:20 ` [PATCH v1 01/06] drm: make drm_auth.h self contained Sam Ravnborg
2019-05-19 14:20 ` [PATCH v1 02/06] drm: make drm_legacy.h self-contained Sam Ravnborg
2019-05-19 14:20 ` [PATCH v1 03/06] drm: make drm_crtc_internal.h self-contained Sam Ravnborg
2019-05-19 14:20 ` [PATCH v1 04/06] drm: make drm_internal.h self-contained Sam Ravnborg
2019-05-19 14:20 ` Sam Ravnborg [this message]
2019-05-19 14:20 ` [PATCH v1 06/06] drm: make drm_trace.h self-contained Sam Ravnborg
2019-05-20 18:45 ` [PATCH v1 0/6] drm: make headers self-contained Daniel Vetter
2019-05-20 19:13   ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190519142036.22861-6-sam@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=maxime.ripard@bootlin.com \
    --cc=sean@poorly.run \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.