mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 00:28:54 +02:00
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> |
||
|---|---|---|
| .. | ||
| analogix_dp-rockchip.c | ||
| cdn-dp-core.c | ||
| cdn-dp-core.h | ||
| cdn-dp-reg.c | ||
| cdn-dp-reg.h | ||
| dw_dp-rockchip.c | ||
| dw_hdmi_qp-rockchip.c | ||
| dw_hdmi-rockchip.c | ||
| dw-mipi-dsi-rockchip.c | ||
| dw-mipi-dsi2-rockchip.c | ||
| inno_hdmi-rockchip.c | ||
| Kconfig | ||
| Makefile | ||
| rk3066_hdmi.c | ||
| rk3066_hdmi.h | ||
| rockchip_drm_drv.c | ||
| rockchip_drm_drv.h | ||
| rockchip_drm_fb.c | ||
| rockchip_drm_fb.h | ||
| rockchip_drm_gem.c | ||
| rockchip_drm_gem.h | ||
| rockchip_drm_vop.c | ||
| rockchip_drm_vop.h | ||
| rockchip_drm_vop2.c | ||
| rockchip_drm_vop2.h | ||
| rockchip_lvds.c | ||
| rockchip_lvds.h | ||
| rockchip_rgb.c | ||
| rockchip_rgb.h | ||
| rockchip_vop_reg.c | ||
| rockchip_vop_reg.h | ||
| rockchip_vop2_reg.c | ||