[PATCH libdrm] amdgpu: enlarge the maximum number of cards supported
xiyuan
xiyuan at amd.com
Thu Apr 19 14:41:30 UTC 2018
On 04/19/2018 10:24 PM, Christian König wrote:
> Am 19.04.2018 um 15:50 schrieb Xiaojie Yuan:
>> 128 is the maximum number of cards that the kernel can support
>> at the moment.
>>
>> Change-Id: I155b7b21635306d8ecc440b85fb8954501ab5599
>> Signed-off-by: Xiaojie Yuan <Xiaojie.Yuan at amd.com>
>
> Reviewed-by: Christian König <christian.koenig at amd.com>
>
> I assume you don't have commit rights, so I'm going to push that any
> moment.
Yeah, thanks.
Regards,
Xiaojie
>
> Thanks,
> Christian.
>
>> ---
>> tests/amdgpu/amdgpu_test.h | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tests/amdgpu/amdgpu_test.h b/tests/amdgpu/amdgpu_test.h
>> index 62875736..f2ece3c3 100644
>> --- a/tests/amdgpu/amdgpu_test.h
>> +++ b/tests/amdgpu/amdgpu_test.h
>> @@ -30,7 +30,7 @@
>> /**
>> * Define max. number of card in system which we are able to handle
>> */
>> -#define MAX_CARDS_SUPPORTED 4
>> +#define MAX_CARDS_SUPPORTED 128
>> /* Forward reference for array to keep "drm" handles */
>> extern int drm_amdgpu[MAX_CARDS_SUPPORTED];
>
More information about the amd-gfx
mailing list