[PATCH 2/6] drm/i915/psr: Get Early Transport status in intel_psr_pipe_get_config
Jouni Högander
jouni.hogander at intel.com
Wed May 29 09:38:45 UTC 2024
We are currently not getting Early Transport status information in
intel_psr_pipe_get_config. Fix this.
Fixes: 467e4e061c44 ("drm/i915/psr: Enable psr2 early transport as possible")
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
drivers/gpu/drm/i915/display/intel_psr.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index 4c92e47d4fa3..1e55d447481a 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -1757,6 +1757,8 @@ void intel_psr_get_config(struct intel_encoder *encoder,
pipe_config->enable_psr2_sel_fetch = true;
}
+ pipe_config->enable_psr2_su_region_et = intel_dp->psr.su_region_et_enabled;
+
if (DISPLAY_VER(dev_priv) >= 12) {
val = intel_de_read(dev_priv,
TRANS_EXITLINE(dev_priv, cpu_transcoder));
--
2.34.1
More information about the Intel-gfx
mailing list