[i-g-t,v1,3/5] tests/intel/kms_frontbuffer_tracking: update to FBC support check
Joshi, Kunal1
kunal1.joshi at intel.com
Tue Feb 25 09:15:34 UTC 2025
On 20-02-2025 17:51, Vinod Govindapillai wrote:
> Utilize the library function to check if the FBC PSR combination
> is supported in a platform
>
> Signed-off-by: Vinod Govindapillai <vinod.govindapillai at intel.com>
Reviewed-by: Kunal Joshi <kunal1.joshi at intel.com>
> ---
> tests/intel/kms_frontbuffer_tracking.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/intel/kms_frontbuffer_tracking.c b/tests/intel/kms_frontbuffer_tracking.c
> index b93c0d45a..0d124b597 100644
> --- a/tests/intel/kms_frontbuffer_tracking.c
> +++ b/tests/intel/kms_frontbuffer_tracking.c
> @@ -2860,7 +2860,7 @@ static void plane_fbc_rte_subtest(const struct test_mode *t)
> {
> igt_plane_t *plane;
>
> - igt_require_f((drm.display_ver >= 20), "Can't test fbc for each plane\n");
> + igt_require_f(intel_fbc_psr_combo_supported(drm.fd), "Can't test fbc for each plane\n");
>
> prepare_subtest_data(t, NULL);
> unset_all_crtcs();
More information about the igt-dev
mailing list