From: Maxime Ripard Date: Thu, 5 Mar 2026 09:05:05 +0000 (+0100) Subject: drm/connector: Remove DRM_COLOR_FORMAT defines X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=720c618e383c90c79b4ff3f90e71c4aceb1568d3;p=thirdparty%2Fkernel%2Fstable.git drm/connector: Remove DRM_COLOR_FORMAT defines Now that all users of DRM_COLOR_FORMAT_* defines have been converted to the new enum, we can get rid of those defines. Acked-by: Jani Nikula Reviewed-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20260305-drm-rework-color-formats-v3-13-f3935f6db579@kernel.org Signed-off-by: Maxime Ripard --- diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index 227f61904386..562f6da90fac 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -724,11 +724,6 @@ struct drm_display_info { */ enum subpixel_order subpixel_order; -#define DRM_COLOR_FORMAT_RGB444 (1 << DRM_OUTPUT_COLOR_FORMAT_RGB444) -#define DRM_COLOR_FORMAT_YCBCR444 (1 << DRM_OUTPUT_COLOR_FORMAT_YCBCR444) -#define DRM_COLOR_FORMAT_YCBCR422 (1 << DRM_OUTPUT_COLOR_FORMAT_YCBCR422) -#define DRM_COLOR_FORMAT_YCBCR420 (1 << DRM_OUTPUT_COLOR_FORMAT_YCBCR420) - /** * @panel_orientation: Read only connector property for built-in panels, * indicating the orientation of the panel vs the device's casing.