[igt-dev] [PATCH i-g-t] tests/i915/gem_bad_reloc: Added check for verifying aperture support
Dixit, Ashutosh
ashutosh.dixit at intel.com
Wed Oct 13 00:44:42 UTC 2021
On Mon, 11 Oct 2021 00:13:32 -0700, Arjun Melkaveri wrote:
>
> Added check for verifying aperture support.
> "negative_reloc" subtest uses gtt address spaze size
This is calling gem_aperture_size() which is a I915_CONTEXT_PARAM_GTT_SIZE
which seems to be the per context VM size not the GGTT size. Look at the
i915 code.
> and "negative_reloc_blt" uses fences, which needs aperture support.
This again looks like fences will only be used if the object is tiled which
doesn't seem to be in this case?
> This would avoid test failure for platfom that doesnt support this.
Where are we saying failures? Is there a bug?
> diff --git a/tests/i915/gem_bad_reloc.c b/tests/i915/gem_bad_reloc.c
> index 3ca0f345..d0902e6c 100644
> --- a/tests/i915/gem_bad_reloc.c
> +++ b/tests/i915/gem_bad_reloc.c
> @@ -195,6 +195,7 @@ igt_main
> /* Check if relocations supported by platform */
> igt_require(gem_has_relocations(fd));
> gem_require_blitter(fd);
> + gem_require_mappable_ggtt(fd);
More information about the igt-dev
mailing list