[PATCH 2/2] drm/i915/psr: Use full frame updates for legacy cursor updates

Jouni Högander jouni.hogander at intel.com
Wed Mar 8 09:38:10 UTC 2023


Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
 drivers/gpu/drm/i915/display/intel_psr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index 44610b20cd29..a78fbb827bb9 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -1749,7 +1749,8 @@ int intel_psr2_sel_fetch_update(struct intel_atomic_state *state,
 	if (!crtc_state->enable_psr2_sel_fetch)
 		return 0;
 
-	if (!psr2_sel_fetch_pipe_state_supported(crtc_state)) {
+	if (!psr2_sel_fetch_pipe_state_supported(crtc_state) ||
+	    state->base.legacy_cursor_update) {
 		full_update = true;
 		goto skip_sel_fetch_set_loop;
 	}
-- 
2.34.1



More information about the Intel-gfx-trybot mailing list