[PATCH i-g-t] tests/kms_vrr: Skip LOBF test if PR is not supported on sink
Manna, Animesh
animesh.manna at intel.com
Tue Jun 17 07:38:01 UTC 2025
> -----Original Message-----
> From: Jeevan B <jeevan.b at intel.com>
> Sent: Wednesday, June 11, 2025 9:14 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Manna, Animesh <animesh.manna at intel.com>; B S, Karthik
> <karthik.b.s at intel.com>; B, Jeevan <jeevan.b at intel.com>
> Subject: [PATCH i-g-t] tests/kms_vrr: Skip LOBF test if PR is not supported on
> sink
>
> LOBF requires Panel Replay, which is only available on eDP 1.5 panel.
> If PR is not supported on the sink, skip the test early since LOBF cannot be
> enabled without it.
>
> Signed-off-by: Jeevan B <jeevan.b at intel.com>
> ---
> tests/kms_vrr.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c index d371d9d7f..4919b7cb7
> 100644
> --- a/tests/kms_vrr.c
> +++ b/tests/kms_vrr.c
> @@ -1049,6 +1049,11 @@ run_vrr_test(data_t *data, test_t test, uint32_t
> flags)
> continue;
> }
>
> + if (flags == TEST_LINK_OFF)
> + igt_require_f(psr_sink_support(data-
> >drm_fd,
> + data->debugfs_fd, PR_MODE,
> output),
> +
Better to add a code comment to specify PR supported with EDP 1.5 and PR and LOBF is mutual exclusive.
With the above fix other changes looks ok to me.
Reviewed-by: Animesh Manna <animesh.manna at intel.com>
"LOBF not supported");
> +
> igt_dynamic_f("pipe-%s-%s",
> kmstest_pipe_name(pipe), output-
> >name)
> test(data, pipe, output, flags);
> --
> 2.25.1
More information about the igt-dev
mailing list