drm: Fix example comment of format modifier blob
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>
Thu, 31 Aug 2017 19:52:14 +0000 (16:52 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 4 Sep 2017 08:24:18 +0000 (10:24 +0200)
To represent formats 98-102, the supported formats mask must be
0x7c00000000 and not 0x3c00000000.

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170831195215.13302-1-krisman@collabora.co.uk
include/uapi/drm/drm_mode.h

index a2bb716..e040c95 100644 (file)
@@ -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;