[igt-dev] [PATCH-i-g-t] tests/i915/gem_mmap_wc: Skip gtt test if aperture is missing
Antonio Argenziano
antonio.argenziano at intel.com
Fri Jan 24 22:54:09 UTC 2020
On 24/01/20 13:18, Vinay Belgaumkar wrote:
> Skip subtest on platforms that do not have mappable aperture.
>
> Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar at intel.com>
> Cc: Antonio Argenziano <antonio.argenziano at intel.com>
> Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>
> ---
> tests/i915/gem_mmap_wc.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/tests/i915/gem_mmap_wc.c b/tests/i915/gem_mmap_wc.c
> index 375a9b50..d1f023d3 100644
> --- a/tests/i915/gem_mmap_wc.c
> +++ b/tests/i915/gem_mmap_wc.c
> @@ -599,8 +599,10 @@ igt_main
> test_write_cpu_read_wc(fd, 1);
> igt_subtest("write-cpu-read-wc-unflushed")
> test_write_cpu_read_wc(fd, 0);
> - igt_subtest("write-gtt-read-wc")
> + igt_subtest("write-gtt-read-wc") {
> + gem_require_mappable_ggtt(fd);
> test_write_gtt_read_wc(fd);
> + }
"write-gtt" needs some love as well (Even tough it is not doing what it
should right now).
Antonio
> igt_subtest("pf-nonblock")
> test_pf_nonblock(fd);
> igt_subtest("set-cache-level")
>
More information about the igt-dev
mailing list