[PATCH i-g-t v2 3/3] tests/intel/xe_pat: assert flat CSS support for xe2

Jahagirdar, Akshata akshata.jahagirdar at intel.com
Fri Feb 2 05:49:03 UTC 2024


On 2/1/2024 2:30 AM, Matthew Auld wrote:
> Xe2+ should support flat CCS compression, and here we are using
> compressed PAT index modes. Assert the platform indeed has flat CCS
> here, otherwise something is likely wrong.
>
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: Akshata Jahagirdar <akshata.jahagirdar at intel.com>
> Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> ---
>   tests/intel/xe_pat.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/tests/intel/xe_pat.c b/tests/intel/xe_pat.c
> index 40256bada..3d7d7400c 100644
> --- a/tests/intel/xe_pat.c
> +++ b/tests/intel/xe_pat.c
> @@ -1049,6 +1049,7 @@ igt_main_args("V", NULL, help_str, opt_handler, NULL)
>   
>   	igt_subtest_with_dynamic("pat-index-xe2") {
>   		igt_require(intel_get_device_info(dev_id)->graphics_ver >= 20);
> +		igt_assert(HAS_FLATCCS(dev_id));
>   		subtest_pat_index_modes_with_regions(fd, xe2_pat_index_modes,
>   						     ARRAY_SIZE(xe2_pat_index_modes));
>   	}

Reviewed-by: Akshata Jahagirdar <akshata.jahagirdar at intel.com>

- Akshata



More information about the igt-dev mailing list