mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
drm/i915/psr: Check panel Early Transport capability for eDP PR
Our HW doesn't support panel replay without Early Transport on eDP. Bspec: 68920 Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Reviewed-by: Animesh Manna <animesh.manna@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240619062131.4021196-5-jouni.hogander@intel.com
This commit is contained in:
parent
67cf054737
commit
5d9993f883
|
|
@ -571,11 +571,18 @@ static void _panel_replay_init_dpcd(struct intel_dp *intel_dp)
|
|||
{
|
||||
struct drm_i915_private *i915 = dp_to_i915(intel_dp);
|
||||
|
||||
if (intel_dp_is_edp(intel_dp) &&
|
||||
!intel_alpm_aux_less_wake_supported(intel_dp)) {
|
||||
drm_dbg_kms(&i915->drm,
|
||||
"Panel doesn't support AUX-less ALPM, eDP Panel Replay not possible\n");
|
||||
return;
|
||||
if (intel_dp_is_edp(intel_dp)) {
|
||||
if (!intel_alpm_aux_less_wake_supported(intel_dp)) {
|
||||
drm_dbg_kms(&i915->drm,
|
||||
"Panel doesn't support AUX-less ALPM, eDP Panel Replay not possible\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(intel_dp->pr_dpcd & DP_PANEL_REPLAY_EARLY_TRANSPORT_SUPPORT)) {
|
||||
drm_dbg_kms(&i915->drm,
|
||||
"Panel doesn't support early transport, eDP Panel Replay not possible\n");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
intel_dp->psr.sink_panel_replay_support = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user