Skip to content

Commit 771dace

Browse files
krhgregkh
authored andcommitted
drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define
[ Upstream commit af913418261d6d3e7a29f06cf35f04610ead667c ] 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 Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 37c2d0d commit 771dace

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/uapi/drm/drm_fourcc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@
150150

151151
/* Vendor Ids: */
152152
#define DRM_FORMAT_MOD_NONE 0
153+
#define DRM_FORMAT_MOD_VENDOR_NONE 0
153154
#define DRM_FORMAT_MOD_VENDOR_INTEL 0x01
154155
#define DRM_FORMAT_MOD_VENDOR_AMD 0x02
155156
#define DRM_FORMAT_MOD_VENDOR_NV 0x03

0 commit comments

Comments
 (0)