aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
diff options
context:
space:
mode:
authorSathishkumar S <[email protected]>2025-01-10 02:18:54 +0000
committerAlex Deucher <[email protected]>2025-02-13 02:02:54 +0000
commit8064ca6e93e6361563b0de60204a51e4e12f932b (patch)
tree86470fd5f2f99f2dda4d1b3bec3f5d55df8c4780 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
parentdrm/amdgpu: avoid buffer overflow attach in smu_sys_set_pp_table() (diff)
downloadkernel-8064ca6e93e6361563b0de60204a51e4e12f932b.tar.gz
kernel-8064ca6e93e6361563b0de60204a51e4e12f932b.zip
drm/amdgpu: increase amdgpu max rings limit
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 <[email protected]> Reviewed-by: Leo Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
index dee5a1b4e572..04af26536f97 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
@@ -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