[igt-dev] [PATCH i-g-t] i915/gem_gpgpu_fill: Add support for local memory

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Mon Aug 23 03:15:05 UTC 2021


On Sat, Aug 21, 2021 at 12:48:44PM +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_gpgpu_fill.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/i915/gem_gpgpu_fill.c b/tests/i915/gem_gpgpu_fill.c
> index 1fcd42e2..74a227f6 100644
> --- a/tests/i915/gem_gpgpu_fill.c
> +++ b/tests/i915/gem_gpgpu_fill.c
> @@ -150,7 +150,8 @@ igt_main
>  		igt_assert(region_info);
>  
>  		region_set = get_memory_region_set(region_info,
> -						   I915_SYSTEM_MEMORY);
> +						   I915_SYSTEM_MEMORY,
> +						   I915_DEVICE_MEMORY);
>  	}
>  
>  	igt_subtest_with_dynamic("basic") {
> -- 
> 2.25.1
>

I've incidentally answered twice on gem_media_fill.

Works fine on discrete, thanks!

Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>

--
Zbigniew
 


More information about the igt-dev mailing list