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)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Sep 2024 11:54:21 +0000 (14:54 +0300)
commit35dba4834bded843d5416e8caadfe82bd0ce1904
treecbd64981219ad8806c7dc109d276822389d7bc68
parent92699ba9561a032fa3b4a9f5c5dfd24bc9678c46
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>
drivers/gpu/drm/i915/display/intel_dp.c