diff options
author | James Zhu <James.Zhu@amd.com> | 2023-01-10 17:01:33 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 16:51:51 +0300 |
commit | 1bd99ca2695a76f15d7f7862d6ef878588e854dc (patch) | |
tree | 1a0173d867bb50e8910059066d4143d33e85ae17 | |
parent | f471de2586e8ef388eea2cafa911695d94ec1d88 (diff) | |
download | linux-1bd99ca2695a76f15d7f7862d6ef878588e854dc.tar.xz |
drm/amdgpu: increase AMDGPU_MAX_HWIP_RINGS
[WA] Increase AMDGPU_MAX_HWIP_RINGS to 64 to support more compute
ring resource. Later need redesign with queue/prirority/scheduler
factors to reduce AMDGPU_MAX_HWIP_RINGS.
Signed-off-by: James Zhu <James.Zhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 2 |
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 bed118d7add0..add7cc2831b0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h @@ -38,7 +38,7 @@ struct amdgpu_vm; /* max number of rings */ #define AMDGPU_MAX_RINGS 102 -#define AMDGPU_MAX_HWIP_RINGS 32 +#define AMDGPU_MAX_HWIP_RINGS 64 #define AMDGPU_MAX_GFX_RINGS 2 #define AMDGPU_MAX_SW_GFX_RINGS 2 #define AMDGPU_MAX_COMPUTE_RINGS 8 |