]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/dp: Fix colorimetry detection
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 18 Sep 2024 19:04:39 +0000 (22:04 +0300)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 25 Sep 2024 08:56:23 +0000 (11:56 +0300)
commite860513f56d8428fcb2bd0282ac8ab691a53fc6c
treeb0cbefffca1a51b9255fe2839b246e6eb415223a
parentd7126c0cfc137a580eba92bd82b6d288bd43961d
drm/i915/dp: Fix colorimetry detection

intel_dp_init_connector() is no place for detecting stuff via
DPCD (except perhaps for eDP). Move the colorimetry stuff into
a more appropriate place.

Cc: Jouni Högander <jouni.hogander@intel.com>
Fixes: 00076671a648 ("drm/i915/display: Move colorimetry_support from intel_psr to intel_dp")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240918190441.29071-1-ville.syrjala@linux.intel.com
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
(cherry picked from commit 35dba4834bded843d5416e8caadfe82bd0ce1904)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/display/intel_dp.c