]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/connector: Remove DRM_COLOR_FORMAT defines
authorMaxime Ripard <mripard@kernel.org>
Thu, 5 Mar 2026 09:05:05 +0000 (10:05 +0100)
committerMaxime Ripard <mripard@kernel.org>
Tue, 24 Mar 2026 12:54:35 +0000 (13:54 +0100)
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 <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-13-f3935f6db579@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
include/drm/drm_connector.h

index 227f6190438679104f5336be088a73f4529c15fa..562f6da90facdacc98307c50177792e26f2dece6 100644 (file)
@@ -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.