linux/drivers/gpu/drm/bridge/adv7511
Maxime Ripard be7d12f878
drm/bridge: adv7511: 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: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260305-drm-rework-color-formats-v3-5-f3935f6db579@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
2026-03-24 13:54:31 +01:00
..
adv7511_audio.c drm/bridge: write full Audio InfoFrame 2025-09-09 17:34:39 +03:00
adv7511_cec.c drm/bridge: Make dp/hdmi_audio_* callback keep the same paramter order with get_modes 2025-07-14 18:23:18 +03:00
adv7511_drv.c drm/bridge: adv7511: Convert to drm_output_color_format 2026-03-24 13:54:31 +01:00
adv7511.h drm/bridge: adv7511: provide SPD and HDMI infoframes 2025-08-29 15:41:55 +03:00
adv7533.c drm/bridge: adv7511: Rename adv7511_dsi_config_timing_gen() into adv7533_dsi_config_timing_gen() 2025-05-28 16:48:04 +03:00
Kconfig drm/bridge: adv7511: switch to the HDMI connector helpers 2025-05-21 01:35:34 +03:00
Makefile