mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
drm/i915/psr: Prevent Panel Replay if CRC calculation is enabled
Similarly as for PSR2 CRC calculation seems to timeout when Panel Replay is enabled. Fix this by falling back to PSR if CRC calculation is enabled. Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2266 Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240819092549.1298233-1-jouni.hogander@intel.com
This commit is contained in:
@@ -1586,6 +1586,12 @@ _panel_replay_compute_config(struct intel_dp *intel_dp,
|
|||||||
if (!alpm_config_valid(intel_dp, crtc_state, true))
|
if (!alpm_config_valid(intel_dp, crtc_state, true))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (crtc_state->crc_enabled) {
|
||||||
|
drm_dbg_kms(&i915->drm,
|
||||||
|
"Panel Replay not enabled because it would inhibit pipe CRC calculation\n");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user