Re: [PATCH] drm: DRM_FOURCC_STANDALONE macro support

2021-02-08 Thread Simon Ser
Acked-by: Simon Ser ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH] drm: DRM_FOURCC_STANDALONE macro support

2021-02-05 Thread James Park
On Thu, Feb 4, 2021 at 6:55 PM James Park wrote: > > Use DRM_FOURCC_STANDALONE to include drm_fourcc.h without drm.h. > > Copy type definitions from drm.h to drm_fourcc.h, and wrap with > DRM_BASIC_TYPED_DEFINED to avoid redundant inclusion. > > This will allow code to avoid unnecessary

[PATCH] drm: DRM_FOURCC_STANDALONE macro support

2021-02-05 Thread James Park
Use DRM_FOURCC_STANDALONE to include drm_fourcc.h without drm.h. Copy type definitions from drm.h to drm_fourcc.h, and wrap with DRM_BASIC_TYPED_DEFINED to avoid redundant inclusion. This will allow code to avoid unnecessary definitions. Signed-off-by: James Park --- include/uapi/drm/drm.h