drm/amdgpu: increase amdgpu max rings limit
authorSathishkumar S <sathishkumar.sundararaju@amd.com>
Fri, 10 Jan 2025 02:18:54 +0000 (07:48 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 02:02:54 +0000 (21:02 -0500)
increase max rings to 132 to support all JPEG5_0_1 cores, else
ring_init fails due to ring count exceeding maximum limit.

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@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 dee5a1b4e572136a8afd973f569e8c2bbd90da65..04af26536f979b51b69fcbd001cf108805ad7038 100644 (file)
@@ -37,7 +37,7 @@ struct amdgpu_job;
 struct amdgpu_vm;
 
 /* max number of rings */
-#define AMDGPU_MAX_RINGS               124
+#define AMDGPU_MAX_RINGS               132
 #define AMDGPU_MAX_HWIP_RINGS          64
 #define AMDGPU_MAX_GFX_RINGS           2
 #define AMDGPU_MAX_SW_GFX_RINGS         2