drm/amdgpu: increase the MAX ring number
authorEvan Quan <evan.quan@amd.com>
Wed, 21 Nov 2018 03:25:53 +0000 (11:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Dec 2018 20:54:11 +0000 (15:54 -0500)
As two more SDMA page queue rings are added on Vega20.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h

index 0beb01fef83fd38c9b940c167fa7df7d25df1f71..d87e828a084b959ee6651ad080c698eb7f2b3bca 100644 (file)
@@ -29,7 +29,7 @@
 #include <drm/drm_print.h>
 
 /* max number of rings */
-#define AMDGPU_MAX_RINGS               21
+#define AMDGPU_MAX_RINGS               23
 #define AMDGPU_MAX_GFX_RINGS           1
 #define AMDGPU_MAX_COMPUTE_RINGS       8
 #define AMDGPU_MAX_VCE_RINGS           3