mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
drm/amdgpu: Increase IH soft ring size for GFX v9.4.3 dGPU
[ Upstream commitbcfb9cee61] On GFX v9.4.3 dGPU, applications have random timeout failure when XNACK on, dmesg log has "amdgpu: IH soft ring buffer overflow 0x900, 0x900", because dGPU mode has 272 cam entries. After increasing IH soft ring to 512 entries, no more IH soft ring overflow message and application passed. Fixes:bf80d34b6c("drm/amdgpu: Increase soft IH ring size") Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
69f03be1fa
commit
03b98d789a
|
|
@ -28,7 +28,7 @@
|
|||
#define AMDGPU_IH_MAX_NUM_IVS 32
|
||||
|
||||
#define IH_RING_SIZE (256 * 1024)
|
||||
#define IH_SW_RING_SIZE (8 * 1024) /* enough for 256 CAM entries */
|
||||
#define IH_SW_RING_SIZE (16 * 1024) /* enough for 512 CAM entries */
|
||||
|
||||
struct amdgpu_device;
|
||||
struct amdgpu_iv_entry;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user