]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/panelreplay: Move out psr_init_dpcd() from init_connector()
authorAnimesh Manna <animesh.manna@intel.com>
Thu, 29 Feb 2024 04:37:16 +0000 (10:07 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Fri, 1 Mar 2024 07:34:41 +0000 (13:04 +0530)
commit1cca19bf296fae0636a637b48d195ac6b4d430c9
tree838f435824dca583b3270c556630ea6f66982739
parent12531c8c0a37c83493237c8191ebed2896ef0017
drm/i915/panelreplay: Move out psr_init_dpcd() from init_connector()

Move psr_init_dpcd() from init-connector to connector-detect
function. The dpcd probe for checking panel replay capability
for external dp connector is causing delay during boot which can
be optimized by moving dpcd probe to connector specific detect().

v1: Initial version.
v2: Add details in commit description. [Jani]

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/10284
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Fixes: cceeaa312d39 ("drm/i915/panelreplay: Enable panel replay dpcd initialization for DP")
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240229043716.4065760-1-animesh.manna@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_psr.c