drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define
authorKristian H. Kristensen <hoegsberg@gmail.com>
Tue, 13 Dec 2016 19:27:52 +0000 (11:27 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 Dec 2016 21:01:50 +0000 (22:01 +0100)
We need to define DRM_FORMAT_MOD_VENDOR_NONE for the fourcc_mod_code()
macro to work correctly.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1481657272-25975-1-git-send-email-hoegsberg@google.com
include/uapi/drm/drm_fourcc.h

index 0ccef30e56b61910142a5fa19d921d8f00c206d0..9e1bb7fabcde60ab428a5b4935d40d9d9953b818 100644 (file)
@@ -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