[PATCH libdrm] amdgpu: enlarge the maximum number of cards supported

Christian König ckoenig.leichtzumerken at gmail.com
Thu Apr 19 14:24:36 UTC 2018


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.

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