Commit 6b8ed872 authored by Gabriel Krisman Bertazi's avatar Gabriel Krisman Bertazi Committed by Daniel Vetter

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: default avatarGabriel Krisman Bertazi <krisman@collabora.co.uk>
Reviewed-by: default avatarBen Widawsky <ben@bwidawsk.net>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170831195215.13302-1-krisman@collabora.co.uk
parent 14b469f9
...@@ -749,9 +749,9 @@ struct drm_format_modifier { ...@@ -749,9 +749,9 @@ struct drm_format_modifier {
* If the number formats grew to 128, and formats 98-102 are * If the number formats grew to 128, and formats 98-102 are
* supported with the modifier: * supported with the modifier:
* *
* 0x0000003c00000000 0000000000000000 * 0x0000007c00000000 0000000000000000
* ^ * ^
* |__offset = 64, formats = 0x3c00000000 * |__offset = 64, formats = 0x7c00000000
* *
*/ */
__u64 formats; __u64 formats;
......
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