[igt-dev] [i-g-t 24/45] tests/kms_async_flips: No XE support

Karthik B S karthik.b.s at intel.com
Fri Apr 21 09:15:10 UTC 2023


On 4/18/2023 10:14 PM, Bhanuprakash Modem wrote:
> Async flips won't work with linear buffers on Intel hardware,
> hence don't run tests on XE device as XE won't support tiling.
>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
Reviewed-by: Karthik B S <karthik.b.s at intel.com>
> ---
>   tests/kms_async_flips.c | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/tests/kms_async_flips.c b/tests/kms_async_flips.c
> index 1e6506e3d..51ffa523a 100644
> --- a/tests/kms_async_flips.c
> +++ b/tests/kms_async_flips.c
> @@ -592,7 +592,13 @@ igt_main_args("e", NULL, help_str, opt_handler, &data)
>   	int i;
>   
>   	igt_fixture {
> -		data.drm_fd = drm_open_driver_master(DRIVER_ANY);
> +		/*
> +		 * FIXME: As of now, Async flips won't work with linear buffers
> +		 * on Intel hardware, hence don't run tests on XE device as XE
> +		 * won't support tiling.
> +		 * Once Kernel changes got landed, please update this logic.
> +		 */
> +		data.drm_fd = drm_open_driver_master(DRIVER_ANY & ~DRIVER_XE);
>   		kmstest_set_vt_graphics_mode();
>   		igt_display_require(&data.display, data.drm_fd);
>   		igt_display_require_output(&data.display);


More information about the igt-dev mailing list