Commit af913418 authored by Kristian H. Kristensen's avatar Kristian H. Kristensen Committed by Daniel Vetter

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: default avatarKristian H. Kristensen <hoegsberg@google.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1481657272-25975-1-git-send-email-hoegsberg@google.com
parent ecdfcebb
...@@ -154,6 +154,7 @@ extern "C" { ...@@ -154,6 +154,7 @@ extern "C" {
/* Vendor Ids: */ /* Vendor Ids: */
#define DRM_FORMAT_MOD_NONE 0 #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_INTEL 0x01
#define DRM_FORMAT_MOD_VENDOR_AMD 0x02 #define DRM_FORMAT_MOD_VENDOR_AMD 0x02
#define DRM_FORMAT_MOD_VENDOR_NV 0x03 #define DRM_FORMAT_MOD_VENDOR_NV 0x03
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment