[igt-dev] [PATCH 1/7] lib/amdgpu: increase number of resources

Christian König christian.koenig at amd.com
Thu Jul 21 08:21:58 UTC 2022


Am 21.07.22 um 10:21 schrieb Christian König:
> Am 21.07.22 um 02:39 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>
>
> Acked-by: Christian König <christian.koenig at amd.com> for the series.

Just in case you changed something :)

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 cb7d14747..c16ad1794 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 */
>



More information about the igt-dev mailing list