summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2021-09-29 21:12:00 +0200
committerNoralf Trønnes <noralf@tronnes.org>2021-10-04 12:05:44 +0200
commit1f25d0054258df239ffa420606466fd9b14e06d6 (patch)
treebf35ed299df6febea0963c19bc1d0b0d355f8021 /include/drm
parent4cabfedc096b14336fac1d42bec5cb8ff5090527 (diff)
downloadlinux-1f25d0054258df239ffa420606466fd9b14e06d6.tar.bz2
drm/gud: Add GUD_PIXEL_FORMAT_RGB332
Add support for the RGB332 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-6-noralf@tronnes.org
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/gud.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/gud.h b/include/drm/gud.h
index 1dc781009e62..4118dce2fcec 100644
--- a/include/drm/gud.h
+++ b/include/drm/gud.h
@@ -249,6 +249,7 @@ struct gud_state_req {
#define GUD_PIXEL_FORMAT_R1 0x01 /* 1-bit monochrome */
#define GUD_PIXEL_FORMAT_R8 0x08 /* 8-bit greyscale */
#define GUD_PIXEL_FORMAT_XRGB1111 0x20
+ #define GUD_PIXEL_FORMAT_RGB332 0x30
#define GUD_PIXEL_FORMAT_RGB565 0x40
#define GUD_PIXEL_FORMAT_XRGB8888 0x80
#define GUD_PIXEL_FORMAT_ARGB8888 0x81