[igt-dev] [PATCH i-g-t] tests/intel/kms_psr2_su: fix igt_require_f() condition

Modem, Bhanuprakash bhanuprakash.modem at intel.com
Tue Sep 26 15:42:54 UTC 2023


On Mon-25-09-2023 07:56 pm, Swati Sharma wrote:
> The condition holds for display 13+ platforms. Fix that.

This patch is fixing the print message not the condition. Please update 
the commit subject & message.

- Bhanu

> 
> Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
> ---
>   tests/intel/kms_psr2_su.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/intel/kms_psr2_su.c b/tests/intel/kms_psr2_su.c
> index 321144d6b..834fec1ec 100644
> --- a/tests/intel/kms_psr2_su.c
> +++ b/tests/intel/kms_psr2_su.c
> @@ -331,7 +331,7 @@ igt_main
>   			      "Sink does not support PSR2\n");
>   
>   		igt_require_f(intel_display_ver(intel_get_drm_devid(data.drm_fd)) < 13,
> -			      "Registers used by this test do not work on display 13\n");
> +			      "Registers used by this test do not work on display 13+\n");
>   
>   		display_init(&data);
>   


More information about the igt-dev mailing list