[PATCH] drm: drm_basic_types.h, DRM_FOURCC_STANDALONE

James Park jpark37 at lagfreegames.com
Thu Dec 10 09:12:53 UTC 2020


Create drm_basic_types.h to define types previously defined by drm.h.

Use DRM_FOURCC_STANDALONE to include drm_fourcc.h without drm.h.

This will allow Mesa to port code to Windows more easily.

Signed-off-by: James Park <jpark37 at lagfreegames.com>
Acked-by: Simon Ser <contact at emersion.fr>
Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.com>

James Park (1):
  drm: drm_basic_types.h, DRM_FOURCC_STANDALONE

 include/uapi/drm/drm.h             | 12 ++-------
 include/uapi/drm/drm_basic_types.h | 52 ++++++++++++++++++++++++++++++++++++++
 include/uapi/drm/drm_fourcc.h      |  4 +++
 3 files changed, 58 insertions(+), 10 deletions(-)
 create mode 100644 include/uapi/drm/drm_basic_types.h

-- 
2.7.4



More information about the dri-devel mailing list