drm/i915/display: Read panel replay source status through PSR2 status register
PTL onwards get panel replay status from PSR2 status register instead of SRD status. Signed-off-by: Animesh Manna <animesh.manna@intel.com> Reviewed-by: Jouni Högander <jouni.hogander@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250324100823.3111564-1-animesh.manna@intel.com
This commit is contained in:
@@ -3635,8 +3635,8 @@ psr_source_status(struct intel_dp *intel_dp, struct seq_file *m)
|
||||
const char *status = "unknown";
|
||||
u32 val, status_val;
|
||||
|
||||
if (intel_dp_is_edp(intel_dp) && (intel_dp->psr.sel_update_enabled ||
|
||||
intel_dp->psr.panel_replay_enabled)) {
|
||||
if ((intel_dp_is_edp(intel_dp) || DISPLAY_VER(display) >= 30) &&
|
||||
(intel_dp->psr.sel_update_enabled || intel_dp->psr.panel_replay_enabled)) {
|
||||
static const char * const live_status[] = {
|
||||
"IDLE",
|
||||
"CAPTURE",
|
||||
|
||||
Reference in New Issue
Block a user