linux/drivers/gpu/drm/rockchip
Maxime Ripard 01962a1912
drm/rockchip: analogix: Convert to drm_output_color_format
Now that we introduced a new drm_output_color_format enum to represent
what DRM_COLOR_FORMAT_* bits were representing, we can switch to the new
enum.

The main difference is that while DRM_COLOR_FORMAT_ was a bitmask,
drm_output_color_format is a proper enum. However, the enum was done is
such a way than DRM_COLOR_FORMAT_X = BIT(DRM_OUTPUT_COLOR_FORMAT_X) so
the transitition is easier.

The only thing we need to consider is if the original code meant to use
that value as a bitmask, in which case we do need to keep the bit shift,
or as a discriminant in which case we don't.

Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Link: https://lore.kernel.org/r/20260305-drm-rework-color-formats-v3-12-f3935f6db579@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
2026-03-24 13:54:34 +01:00
..
analogix_dp-rockchip.c drm/rockchip: analogix: Convert to drm_output_color_format 2026-03-24 13:54:34 +01:00
cdn-dp-core.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
cdn-dp-core.h drm/rockchip: cdn-dp: Convert to drm bridge 2025-07-08 17:35:49 +02:00
cdn-dp-reg.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
cdn-dp-reg.h drm/rockchip: Fix Copyright description 2024-12-14 23:52:49 +01:00
dw_dp-rockchip.c drm/rockchip: dw_dp: Add DisplayPort support for rk3576 2026-02-21 23:13:42 +01:00
dw_hdmi_qp-rockchip.c Linux 6.19-rc7 2026-01-28 12:44:28 +10:00
dw_hdmi-rockchip.c drm/rockchip: hdmi: add RK3368 controller variant 2025-12-15 14:55:26 +01:00
dw-mipi-dsi-rockchip.c drm/rockchip: dsi: Add support for rk3506 2026-01-08 20:00:35 +01:00
dw-mipi-dsi2-rockchip.c drm/rockchip: dsi2: add support rk3576 2025-08-22 23:13:11 +02:00
inno_hdmi-rockchip.c drm/rockchip: inno-hdmi: Convert to drm bridge 2025-12-25 00:30:33 +02:00
Kconfig drm/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP 2026-01-14 11:46:35 +01:00
Makefile drm/rockchip: inno-hdmi: Convert to drm bridge 2025-12-25 00:30:33 +02:00
rk3066_hdmi.c drm/bridge: refactor HDMI InfoFrame callbacks 2026-01-19 13:11:46 +02:00
rk3066_hdmi.h drm/rockchip: Fix Copyright description 2024-12-14 23:52:49 +01:00
rockchip_drm_drv.c drm/rockchip: Set VOP for the DRM DMA device 2025-11-15 00:20:12 +01:00
rockchip_drm_drv.h drm/rockchip: Add RK3588 DPTX output support 2025-08-28 15:49:51 +03:00
rockchip_drm_fb.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rockchip_drm_fb.h drm/rockchip: Fix Copyright description 2024-12-14 23:52:49 +01:00
rockchip_drm_gem.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rockchip_drm_gem.h drm/rockchip: Fix Copyright description 2024-12-14 23:52:49 +01:00
rockchip_drm_vop.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
rockchip_drm_vop.h drm/rockchip: Fix Copyright description 2024-12-14 23:52:49 +01:00
rockchip_drm_vop2.c drm/rockchip: vop2: Support setting custom background color 2026-03-18 09:59:57 +00:00
rockchip_drm_vop2.h drm/rockchip: vop2: Support setting custom background color 2026-03-18 09:59:57 +00:00
rockchip_lvds.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
rockchip_lvds.h drm/rockchip: lvds: switch to FIELD_PREP_WM16 macro 2025-09-02 20:06:46 -04:00
rockchip_rgb.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
rockchip_rgb.h drm/rockchip: Fix Copyright description 2024-12-14 23:52:49 +01:00
rockchip_vop_reg.c drm/rockchip: vop: Add support for rk3506 2026-01-08 20:00:35 +01:00
rockchip_vop_reg.h drm/rockchip: vop: Add support for rk3506 2026-01-08 20:00:35 +01:00
rockchip_vop2_reg.c drm/rockchip: vop2: Use drm_err_ratelimited() for wait timeouts 2026-02-21 19:44:12 +01:00