[igt-dev] [PATCH i-g-t 2/2] i915/gem_render_tiled_blits: Add check for hardware based FENCE support

Dixit, Ashutosh ashutosh.dixit at intel.com
Sat Feb 1 21:20:15 UTC 2020


On Sat, 01 Feb 2020 11:33:47 -0800, Ayaz A Siddiqui wrote:
>
> This test is verifying the integrity of blitter render copy on platforms
> which support FENCE based tiling. Since blitter does not use FENCE after
> Gen4+ so this test can only be useful for Platform prior to Gen4.
> A check has been added to skip this test if fences  are not available in
> platform.
>
> Test to check effects of different physical address values on render
> copy is being developed as Kernel selftest.
>
> Signed-off-by: Ayaz A Siddiqui ayaz.siddiqui at intel.com

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>

> ---
>  tests/i915/gem_render_tiled_blits.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/i915/gem_render_tiled_blits.c b/tests/i915/gem_render_tiled_blits.c
> index 1de1b72c..5f49b3fe 100644
> --- a/tests/i915/gem_render_tiled_blits.c
> +++ b/tests/i915/gem_render_tiled_blits.c
> @@ -204,6 +204,7 @@ igt_main
>	igt_fixture {
>		fd = drm_open_driver(DRIVER_INTEL);
>		igt_require_gem(fd);
> +		igt_require(gem_available_fences(fd) > 0);
>	}
>
>	igt_subtest("basic") {


More information about the igt-dev mailing list