[igt-dev] [PATCH i-g-t] i915/gem_tiled_wb: skip on devices without mappable aperture

Chris Wilson chris at chris-wilson.co.uk
Tue May 19 19:47:35 UTC 2020


Quoting Ashutosh Dixit (2020-05-19 20:02:57)
> From: Vanshidhar Konda <vanshidhar.r.konda at intel.com>
> 
> Skip on devices without mappable aperture.
> 
> Signed-off-by: Vanshidhar Konda <vanshidhar.r.konda at intel.com>
> Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
> ---
>  tests/i915/gem_tiled_wb.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/i915/gem_tiled_wb.c b/tests/i915/gem_tiled_wb.c
> index b7f352fc7..b61a1b2e8 100644
> --- a/tests/i915/gem_tiled_wb.c
> +++ b/tests/i915/gem_tiled_wb.c
> @@ -139,6 +139,7 @@ igt_simple_main
>         uint32_t handle;
>  
>         fd = drm_open_driver(DRIVER_INTEL);
> +       gem_require_mappable_ggtt(fd);

To be precise, also

	igt_require(gem_available_fences() > 0);

and the ability to WB mmap. You'll note that even the mmap used here is
not yet supported on mmap-offset only HW.
-Chris


More information about the igt-dev mailing list