drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define
Subsystems (2)
PATCH 1/1 drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define
We need to define DRM_FORMAT_MOD_VENDOR_NONE for the fourcc_mod_code() macro to work correctly.
Signed-off-by Kristian H. Kristensen <[email protected]>
--- include/uapi/drm/drm_fourcc.h | 1 + 1 file changed, 1 insertion(+)
include/uapi/drm/drm_fourcc.h +1 -0
@@ -154,6 +154,7 @@ extern "C" {/* Vendor Ids: */ #define DRM_FORMAT_MOD_NONE 0 +#define DRM_FORMAT_MOD_VENDOR_NONE 0#define DRM_FORMAT_MOD_VENDOR_INTEL 0x01#define DRM_FORMAT_MOD_VENDOR_AMD 0x02#define DRM_FORMAT_MOD_VENDOR_NV 0x03
Signature · 6 lines
2.8.0.rc3.226.g39d4020 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 4 lines · Kristian H. Kristensen
We need to define
DRM_FORMAT_MOD_VENDOR_NONEfor thefourcc_mod_code()macro to work correctly.Signed-off-by Kristian H. Kristensen <[email protected]>
Oopsies. Applied to drm-misc, thx for spotting.
-Daniel
Quoted 19 lines
--- include/uapi/drm/drm_fourcc.h | 1 + 1 file changed, 1 insertion(+)include/uapi/drm/drm_fourcc.h +1
-0@@ -154,6 +154,7 @@ extern "C" {/* Vendor Ids: */ #define DRM_FORMAT_MOD_NONE 0 +#define DRM_FORMAT_MOD_VENDOR_NONE 0#define DRM_FORMAT_MOD_VENDOR_INTEL 0x01#define DRM_FORMAT_MOD_VENDOR_AMD 0x02#define DRM_FORMAT_MOD_VENDOR_NV 0x03Signature · 1 line
2.8.0.rc3.226.g39d4020
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel