diff options
author | 2021-09-29 21:12:01 +0200 | |
---|---|---|
committer | 2021-10-04 12:06:14 +0200 | |
commit | 83d7b6d54b8e8a3a487c8a4066e33e6bdd255c3d (patch) | |
tree | fcddcfc0369c19fc2bddb9fe63567feeba15917b /include/drm/gud.h | |
parent | drm/gud: Add GUD_PIXEL_FORMAT_RGB332 (diff) | |
download | linux-83d7b6d54b8e8a3a487c8a4066e33e6bdd255c3d.tar.gz linux-83d7b6d54b8e8a3a487c8a4066e33e6bdd255c3d.tar.bz2 linux-83d7b6d54b8e8a3a487c8a4066e33e6bdd255c3d.zip |
drm/gud: Add GUD_PIXEL_FORMAT_RGB888
Add support for the RGB888 pixel format.
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210929191201.34456-7-noralf@tronnes.org
Diffstat (limited to 'include/drm/gud.h')
-rw-r--r-- | include/drm/gud.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/gud.h b/include/drm/gud.h index 4118dce2fcec..c52a8ba4ae4e 100644 --- a/include/drm/gud.h +++ b/include/drm/gud.h @@ -251,6 +251,7 @@ struct gud_state_req { #define GUD_PIXEL_FORMAT_XRGB1111 0x20 #define GUD_PIXEL_FORMAT_RGB332 0x30 #define GUD_PIXEL_FORMAT_RGB565 0x40 + #define GUD_PIXEL_FORMAT_RGB888 0x50 #define GUD_PIXEL_FORMAT_XRGB8888 0x80 #define GUD_PIXEL_FORMAT_ARGB8888 0x81 |