[PATCH] tests/intel/kms_psr: Do not test frontbuffer rendering on cursor plane

Jouni Högander jouni.hogander at intel.com
Wed Jul 23 11:03:19 UTC 2025


Cursor doesn't generally support frontbuffer rendering. This test happens
to work on i915 because i915 has frontbuffer flush call on render
completion. We do not have that in Xe.

On Xe this mostly happens to work currently because any plane/pipe register
write is triggering update and that is keeping display and PSR awake. Now
as we are moving to using trans push mechanism to trigger update this
doesn't work anymore.

Stop testing cursor frontbuffer rendering in kms_psr if using Xe driver.

Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
 tests/intel/kms_psr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/intel/kms_psr.c b/tests/intel/kms_psr.c
index da947feb6..f062d184a 100644
--- a/tests/intel/kms_psr.c
+++ b/tests/intel/kms_psr.c
@@ -893,7 +893,8 @@ igt_main
 				igt_subtest_with_dynamic_f("%s%scursor-%s", append_fbc_subtest[y],
 					      append_subtest_name[z], op_str(op)) {
 					igt_skip_on(is_xe_device(data.drm_fd) &&
-						    (op == MMAP_CPU || op == MMAP_GTT));
+						    (op == MMAP_CPU || op == MMAP_GTT ||
+						     op == BLT || op == RENDER));
 					for_each_connected_output(&data.display, output) {
 						if (!psr_sink_support(data.drm_fd, data.debugfs_fd,
 								      data.op_psr_mode, output))
-- 
2.43.0



More information about the igt-dev mailing list