Skip to content

drm: drop uapi dependencies from include/drm

Sam Ravnborg dri-devel intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm: drop uapi dependency from drm_print.hinclude/drm/drm_print.h+1 -30 replies
2/2drm: drop uapi dependency from drm_vblank.hinclude/drm/drm_vblank.h+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] drm: drop uapi dependencies from include/drm

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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel