linux/include/video
Thomas Zimmermann 7399c13f61 drm/vesadrm: Support DRM_FORMAT_C8
Add support for DRM_FORMAT_C8 to vesadrm. The new pixel-format
description PIXEL_FORMAT_C8 describes the layout. Vesadrm's helpers
vesadrm_fill_palette_lut() and vesadrm_load_palette_lut() set the
hardware palette according to the CRTC's output format.

The driver emulates XRGB8888 by converting the source buffer to
RGB332 and using the resulting 256 colors as index into the hardware
palette. The hardware palette converts back to RGB during scanout.
This has no overhead compared to other format conversion, but allows
common userspace, such as Wayland compositors, to operate on the
display.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20250714151513.309475-10-tzimmermann@suse.de
2025-08-26 09:54:20 +02:00
..
atmel_lcdc.h
aty128.h
broadsheetfb.h
cirrus.h
cmdline.h video/cmdline: Hide __video_get_options() behind CONFIG_FB_CORE 2024-01-23 10:11:34 +01:00
cvisionppc.h
display_timing.h
edid.h video: Make global edid_info depend on CONFIG_FIRMWARE_EDID 2025-06-16 11:00:29 +02:00
gbe.h
hecubafb.h
ili9320.h
imx-ipu-image-convert.h gpu: ipu-v3: Remove unused ipu_image_convert_* functions 2025-03-01 11:29:03 +02:00
imx-ipu-v3.h gpu: ipu-v3 ipu-cpmem: Remove unused functions 2025-03-01 11:29:03 +02:00
kyro.h fbdev: kyro: Remove unused declarations 2023-08-15 23:39:33 +02:00
mach64.h fbdev: atyfb: Remove unused PCI vendor ID 2025-05-31 10:24:01 +02:00
maxinefb.h
metronomefb.h
mipi_display.h
mmp_disp.h fbdev: mmp: Constify struct mmp_overlay_ops 2024-06-25 14:40:01 +02:00
neomagic.h
newport.h
nomodeset.h drm: Move nomodeset kernel parameter to drivers/video 2022-11-16 13:26:12 +01:00
of_display_timing.h video: of_display_timing.h: include errno.h 2022-07-06 17:16:20 +02:00
of_videomode.h
omapfb_dss.h fbdev: omapfb: use new of_graph functions 2024-10-24 16:35:48 -05:00
omapvrfb.h
permedia2.h
pixel_format.h drm/vesadrm: Support DRM_FORMAT_C8 2025-08-26 09:54:20 +02:00
platform_lcd.h backlight: platform_lcd: Remove match_fb from struct plat_lcd_data 2024-09-30 16:49:42 +01:00
pm3fb.h
pmag-ba-fb.h
pmagb-b-fb.h
pxa168fb.h
radeon.h video: fbdev: radeon: Fix spelling typo in comment 2022-05-26 13:38:59 +02:00
s1d13xxxfb.h
sa1100fb.h
samsung_fimd.h drm/exynos: fimd: add BGR support for exynos4/5 2022-03-04 17:13:52 +09:00
sh_mobile_lcdc.h
sisfb.h fbdev/sisfb: Unexport symbols 2025-06-16 09:08:06 +02:00
sstfb.h video: fbdev: sstfb: Updated logging to fix set but not used warnings 2020-11-30 20:04:59 +01:00
sticore.h video/sticore: Remove info field from STI struct 2024-01-12 12:38:37 +01:00
tdfx.h
tgafb.h
trident.h
udlfb.h
uvesafb.h fbdev: uvesafb: Remove uvesafb_exec() prototype from include/video/uvesafb.h 2023-10-16 23:19:34 +02:00
vga.h video: Handle HAS_IOPORT dependencies 2024-07-29 10:16:11 +02:00
videomode.h