drm: Fix example comment of format modifier blob
authorGabriel Krisman Bertazi <[email protected]>
Thu, 31 Aug 2017 19:52:14 +0000 (16:52 -0300)
committerDaniel Vetter <[email protected]>
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 <[email protected]>
Reviewed-by: Ben Widawsky <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
include/uapi/drm/drm_mode.h

index a2bb7161f0208d107a184e7c5b61dfc9355a7df4..e040c952accc0a9397630798e601eb03aff293bf 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;