[PATCH i-g-t 2/2] tests/intel/kms_fbt: Remove checking display_ver for fpcpsr tests

Govindapillai, Vinod vinod.govindapillai at intel.com
Wed Mar 27 12:27:28 UTC 2024


On Wed, 2024-03-27 at 07:47 +0200, Jouni Högander wrote:
> We have now solution to check if fbcpsr tests can be run which works for
> any display version. Remove redundant related display version check.
> 
> Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
> ---
>  tests/intel/kms_frontbuffer_tracking.c | 7 -------
>  1 file changed, 7 deletions(-)

Reviewed-by: Vinod Govindapillai <vinod.govindapillai at intel.com>

> 
> diff --git a/tests/intel/kms_frontbuffer_tracking.c b/tests/intel/kms_frontbuffer_tracking.c
> index 6d5395a0c..e45d17dd6 100644
> --- a/tests/intel/kms_frontbuffer_tracking.c
> +++ b/tests/intel/kms_frontbuffer_tracking.c
> @@ -2925,13 +2925,6 @@ static void check_test_requirements(const struct test_mode *t)
>  
>         if (opt.only_pipes != PIPE_COUNT)
>                 igt_require(t->pipes == opt.only_pipes);
> -
> -       /* Kernel disables fbc for display versions 12 and 13 if psr is enabled. */
> -       if (drm.display_ver >= 12 && drm.display_ver <= 13)
> -               igt_require_f(!((t->feature & FEATURE_PSR) &&
> -                               (t->feature & FEATURE_FBC)),
> -                             "Can't test PSR and FBC together\n");
> -
>  }
>  
>  static void set_crtc_fbs(const struct test_mode *t)



More information about the igt-dev mailing list