drm/amdgpu/: increase AMDGPU_MAX_RINGS to add 2nd vcn instance
authorJames Zhu <James.Zhu@amd.com>
Tue, 9 Jul 2019 16:07:51 +0000 (11:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:05 +0000 (14:18 -0500)
increase AMDGPU_MAX_RINGS to add 2nd vcn instance

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h

index 4410c97ac9b7feff85e9671219c904576d1ff1f6..930316e601554003a42ae3a2fb83473a205379e3 100644 (file)
@@ -29,7 +29,7 @@
 #include <drm/drm_print.h>
 
 /* max number of rings */
-#define AMDGPU_MAX_RINGS               24
+#define AMDGPU_MAX_RINGS               28
 #define AMDGPU_MAX_GFX_RINGS           2
 #define AMDGPU_MAX_COMPUTE_RINGS       8
 #define AMDGPU_MAX_VCE_RINGS           3