Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] drm: drop uapi dependencies from include/drm
@ 2019-06-22 12:11 Sam Ravnborg
  2019-06-22 12:11 ` [PATCH v1 1/2] drm: drop uapi dependency from drm_print.h Sam Ravnborg
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Sam Ravnborg @ 2019-06-22 12:11 UTC (permalink / raw)
  To: dri-devel; +Cc: Maxime Ripard, intel-gfx, David Airlie, Sean Paul

include/drm/* shall have no or at least minimal dependencies
to include/uapi/drm/*.
Following two patches do a small effort to drop such dependencies.

After these patches there are two users
of uapi/drm/drm.h left in include/drm:

drm_file.h:
- needs drm_magic_t
  drm_magic_t is a simple typedef, a simple unsigned int would do the trick

drm_legacy.h
- needs drm_map_type and drm_map_flags. Seems legit.

I did not spend time to analyze further dependencies.

Patches are build tested.

	Sam

Sam Ravnborg (2):
      drm: drop uapi dependency from drm_print.h
      drm: drop uapi dependency from drm_vblank.h

 include/drm/drm_print.h  | 4 +---
 include/drm/drm_vblank.h | 1 -
 2 files changed, 1 insertion(+), 4 deletions(-)


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-06-24 20:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-22 12:11 [PATCH v1 0/2] drm: drop uapi dependencies from include/drm Sam Ravnborg
2019-06-22 12:11 ` [PATCH v1 1/2] drm: drop uapi dependency from drm_print.h Sam Ravnborg
2019-06-22 12:11 ` [PATCH v1 2/2] drm: drop uapi dependency from drm_vblank.h Sam Ravnborg
2019-06-22 12:44 ` ✓ Fi.CI.BAT: success for drm: drop uapi dependencies from include/drm Patchwork
2019-06-22 14:05 ` ✓ Fi.CI.IGT: " Patchwork
2019-06-24  8:21 ` [PATCH v1 0/2] " Daniel Vetter
2019-06-24 10:07   ` Emil Velikov
2019-06-24 10:55     ` Jani Nikula
2019-06-24 20:39   ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox