[igt-dev] [PATCH i-g-t] i915/gem_media_fill: Add support for local memory
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Mon Aug 23 03:13:00 UTC 2021
On Sat, Aug 21, 2021 at 12:40:25PM +0530, apoorva1.singh at intel.com wrote:
> From: Apoorva Singh <apoorva1.singh at intel.com>
>
> Add support for local memory region (Device memory)
>
> Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
> Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
> Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
> ---
> tests/i915/gem_media_fill.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/i915/gem_media_fill.c b/tests/i915/gem_media_fill.c
> index 28c18e79..1d08df24 100644
> --- a/tests/i915/gem_media_fill.c
> +++ b/tests/i915/gem_media_fill.c
> @@ -154,7 +154,8 @@ igt_main
> igt_assert(query_info);
>
> set = get_memory_region_set(query_info,
> - I915_SYSTEM_MEMORY);
> + I915_SYSTEM_MEMORY,
> + I915_DEVICE_MEMORY);
>
> igt_fork_hang_detector(data.drm_fd);
> }
> --
> 2.25.1
>
Works fine, thanks!
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
--
Zbigniew
More information about the igt-dev
mailing list