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

Hogander, Jouni jouni.hogander at intel.com
Wed Aug 6 04:54:41 UTC 2025


On Tue, 2025-08-05 at 17:53 +0530, Sharma, Swati2 wrote:
> On 23-07-2025 04:33 pm, Jouni Högander wrote:
> > 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.
> Patch LGTM
> Reviewed-by: Swati Sharma <swati2.sharma at intel.com>

Thank you Swati for checking my patch. This is now pushed to master.

BR,

Jouni Högander

> > 
> > 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%scu
> > rsor-%s", append_fbc_subtest[y],
> >   					     
> > append_subtest_name[z], op_str(op)) {
> >   					igt_skip_on(is_xe_device(d
> > ata.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))
> 



More information about the igt-dev mailing list