diff options
author | Lauri Kasanen <cand@gmx.com> | 2021-01-15 17:01:02 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-01-20 14:12:22 +0300 |
commit | e1827807e8d9d5b67c21aa565697211df3f23d25 (patch) | |
tree | 255be62c6f560e67a2b7a7d0fc8a3adf2e7619e7 /include/linux/platform_data/simplefb.h | |
parent | 5269a618eec7f8bbc659658865138cd218d834f9 (diff) | |
download | linux-e1827807e8d9d5b67c21aa565697211df3f23d25.tar.xz |
video: fbdev: simplefb: Add "r5g5b5a1" mode
Add "r5g5b5a1" which is used on the N64.
Signed-off-by: Lauri Kasanen <cand@gmx.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210115160102.cf4c85db9f815758716f086f@gmx.com
Diffstat (limited to 'include/linux/platform_data/simplefb.h')
-rw-r--r-- | include/linux/platform_data/simplefb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/simplefb.h b/include/linux/platform_data/simplefb.h index ca8337695c2a..27ea99af6e1d 100644 --- a/include/linux/platform_data/simplefb.h +++ b/include/linux/platform_data/simplefb.h @@ -16,6 +16,7 @@ #define SIMPLEFB_FORMATS \ { \ { "r5g6b5", 16, {11, 5}, {5, 6}, {0, 5}, {0, 0}, DRM_FORMAT_RGB565 }, \ + { "r5g5b5a1", 16, {11, 5}, {6, 5}, {1, 5}, {0, 1}, DRM_FORMAT_RGBA5551 }, \ { "x1r5g5b5", 16, {10, 5}, {5, 5}, {0, 5}, {0, 0}, DRM_FORMAT_XRGB1555 }, \ { "a1r5g5b5", 16, {10, 5}, {5, 5}, {0, 5}, {15, 1}, DRM_FORMAT_ARGB1555 }, \ { "r8g8b8", 24, {16, 8}, {8, 8}, {0, 8}, {0, 0}, DRM_FORMAT_RGB888 }, \ |