summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaojie Yuan <Xiaojie.Yuan@amd.com>2018-04-19 21:50:49 +0800
committerChristian König <christian.koenig@amd.com>2018-04-19 16:48:51 +0200
commitd4b4c51437048b28e31a4704739d8b0cfbb6ffcb (patch)
tree632f3e34ba12c2279d40f8a70247a0021ea15bde
parentcb850ceb0f25117bccb557545a3ea7a54472df80 (diff)
amdgpu: enlarge the maximum number of cards supported
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>
-rw-r--r--tests/amdgpu/amdgpu_test.h2
1 files changed, 1 insertions, 1 deletions
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];