From: Gabriel Krisman Bertazi Date: Thu, 31 Aug 2017 19:52:14 +0000 (-0300) Subject: drm: Fix example comment of format modifier blob X-Git-Tag: v5.15~9897^2~62^2~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b8ed8720011f703bd9be63c905b592666e1bf62;p=platform%2Fkernel%2Flinux-starfive.git drm: Fix example comment of format modifier blob To represent formats 98-102, the supported formats mask must be 0x7c00000000 and not 0x3c00000000. Signed-off-by: Gabriel Krisman Bertazi Reviewed-by: Ben Widawsky Signed-off-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20170831195215.13302-1-krisman@collabora.co.uk --- diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index a2bb716..e040c95 100644 --- a/include/uapi/drm/drm_mode.h +++ b/include/uapi/drm/drm_mode.h @@ -749,9 +749,9 @@ struct drm_format_modifier { * If the number formats grew to 128, and formats 98-102 are * supported with the modifier: * - * 0x0000003c00000000 0000000000000000 + * 0x0000007c00000000 0000000000000000 * ^ - * |__offset = 64, formats = 0x3c00000000 + * |__offset = 64, formats = 0x7c00000000 * */ __u64 formats;