linux/drivers/gpu/drm/sun4i
Maxime Ripard 00cf406a0a
drm/display: hdmi: Use drm_output_color_format instead of hdmi_colorspace
The hdmi_colorspace enum was defined to represent the colorspace value
of the HDMI infoframes. It was later used by some HDMI drivers to
express the output format they should be setting up.

During the introduction of the HDMI helpers, it then was used to
represent it in the drm_connector_hdmi_state structure.

However, it's always been somewhat redundant with the DRM_COLOR_FORMAT_*
defines, and now with the drm_output_color_format enum. Let's
consolidate around drm_output_color_format in drm_connector_hdmi_state
to facilitate the current effort to provide a global output format
selection mechanism.

Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260305-drm-rework-color-formats-v3-14-f3935f6db579@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
2026-03-24 13:54:35 +01:00
..
Kconfig drm/sun4i: Run DRM default client setup 2024-09-26 09:31:27 +02:00
Makefile
sun4i_backend.c drm/sun4i: Use backend/mixer as dedicated DMA device 2026-03-23 13:23:29 +08:00
sun4i_backend.h
sun4i_crtc.c drm/sun4i: Add more parameters to sunxi_engine commit callback 2024-06-10 12:44:40 +02:00
sun4i_crtc.h
sun4i_drv.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
sun4i_drv.h
sun4i_framebuffer.c
sun4i_framebuffer.h
sun4i_frontend.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
sun4i_frontend.h drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
sun4i_hdmi_ddc_clk.c drm/sun4i/sun4i_hdmi_ddc_clk: convert from round_rate() to determine_rate() 2025-09-15 15:08:44 +02:00
sun4i_hdmi_enc.c drm/display: hdmi: Use drm_output_color_format instead of hdmi_colorspace 2026-03-24 13:54:35 +01:00
sun4i_hdmi_i2c.c drm: remove I2C_CLASS_DDC support 2024-01-18 21:10:41 +01:00
sun4i_hdmi_tmds_clk.c
sun4i_hdmi.h
sun4i_layer.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sun4i_layer.h
sun4i_lvds.c
sun4i_lvds.h
sun4i_rgb.c
sun4i_rgb.h
sun4i_tcon_dclk.c drm/sun4i/sun4i_tcon_dclk: convert from round_rate() to determine_rate() 2025-09-15 15:08:44 +02:00
sun4i_tcon_dclk.h
sun4i_tcon.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun4i_tcon.h
sun4i_tv.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun6i_drc.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun6i_mipi_dsi.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun6i_mipi_dsi.h
sun8i_csc.c drm/sun4i: layer: replace mixer with layer struct 2025-11-12 17:18:25 +08:00
sun8i_csc.h drm/sun4i: csc: use layer arg instead of mixer 2025-11-12 17:18:23 +08:00
sun8i_dw_hdmi.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun8i_dw_hdmi.h
sun8i_hdmi_phy_clk.c
sun8i_hdmi_phy.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
sun8i_mixer.c drm/sun4i: Use backend/mixer as dedicated DMA device 2026-03-23 13:23:29 +08:00
sun8i_mixer.h drm/sun4i: Nuke mixer pointer from layer code 2025-11-12 17:18:25 +08:00
sun8i_tcon_top.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sun8i_tcon_top.h
sun8i_ui_layer.c drm/sun4i: layers: Use drm_fb_dma_get_gem_addr() to get display memory 2026-03-14 16:08:51 +08:00
sun8i_ui_layer.h drm/sun4i: Nuke mixer pointer from layer code 2025-11-12 17:18:25 +08:00
sun8i_ui_scaler.c drm/sun4i: layer: replace mixer with layer struct 2025-11-12 17:18:25 +08:00
sun8i_ui_scaler.h drm/sun4i: ui_scaler: use layer instead of mixer for args 2025-11-12 17:18:23 +08:00
sun8i_vi_layer.c drm/sun4i: layers: Use drm_fb_dma_get_gem_addr() to get display memory 2026-03-14 16:08:51 +08:00
sun8i_vi_layer.h drm/sun4i: Nuke mixer pointer from layer code 2025-11-12 17:18:25 +08:00
sun8i_vi_scaler.c drm/sun4i: layer: replace mixer with layer struct 2025-11-12 17:18:25 +08:00
sun8i_vi_scaler.h drm/sun4i: vi_scaler: Update DE33 base calculation 2025-11-12 17:18:24 +08:00
sunxi_engine.h drm/sun4i: fix kernel-doc warnings in sunxi_engine.h 2026-02-25 02:01:16 +08:00