OSDN Git Service

amdgpu: enlarge the maximum number of cards supported
authorXiaojie Yuan <Xiaojie.Yuan@amd.com>
Thu, 19 Apr 2018 13:50:49 +0000 (21:50 +0800)
committerChristian König <christian.koenig@amd.com>
Thu, 19 Apr 2018 14:48:51 +0000 (16:48 +0200)
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@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
tests/amdgpu/amdgpu_test.h

index 6287573..f2ece3c 100644 (file)
@@ -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];