[igt-dev] [PATCH 1/7] lib/amdgpu: increase number of resources
Prosyak, Vitaly
Vitaly.Prosyak at amd.com
Fri Jul 8 11:04:40 UTC 2022
[AMD Official Use Only - General]
Thanks a lot Christian
Vitaly
________________________________
From: Koenig, Christian <Christian.Koenig at amd.com>
Sent: Friday, July 8, 2022 3:20 AM
To: Prosyak, Vitaly <Vitaly.Prosyak at amd.com>; igt-dev at lists.freedesktop.org <igt-dev at lists.freedesktop.org>
Cc: Siqueira, Rodrigo <Rodrigo.Siqueira at amd.com>; Olsak, Marek <Marek.Olsak at amd.com>; Deucher, Alexander <Alexander.Deucher at amd.com>
Subject: Re: [PATCH 1/7] lib/amdgpu: increase number of resources
Am 07.07.22 um 20:28 schrieb vitaly.prosyak at amd.com:
> From: Vitaly Prosyak <vitaly.prosyak at amd.com>
>
> Add arrays of bo's for VRAM and GTT.
> Eviction test uses 4 bo resources.
>
> Signed-off-by: Vitaly Prosyak <vitaly.prosyak at amd.com>
Of hand that looks totally clean and well organized.
Feel free to add an Acked-by: Christian König <christian.koenig at amd.com>
to the whole series.
Regards,
Christian.
> ---
> lib/amdgpu/amd_ip_blocks.h | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/lib/amdgpu/amd_ip_blocks.h b/lib/amdgpu/amd_ip_blocks.h
> index cb7d1474..c16ad179 100644
> --- a/lib/amdgpu/amd_ip_blocks.h
> +++ b/lib/amdgpu/amd_ip_blocks.h
> @@ -58,11 +58,13 @@ struct amdgpu_ring_context {
>
> amdgpu_bo_handle bo;
> amdgpu_bo_handle bo2;
> + amdgpu_bo_handle boa_vram[2];
> + amdgpu_bo_handle boa_gtt[2];
>
> amdgpu_context_handle context_handle;
> struct drm_amdgpu_info_hw_ip hw_ip_info; /* result of amdgpu_query_hw_ip_info */
>
> - amdgpu_bo_handle resources[2]; /* amdgpu_bo_alloc_and_map */
> + amdgpu_bo_handle resources[4]; /* amdgpu_bo_alloc_and_map */
> amdgpu_va_handle va_handle; /* amdgpu_bo_alloc_and_map */
> amdgpu_va_handle va_handle2; /* amdgpu_bo_alloc_and_map */
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20220708/8f6622e0/attachment.htm>
More information about the igt-dev
mailing list