summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger.He <Hongbo.He@amd.com>2017-03-14 16:47:30 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:53:53 -0400
commit8fb6e528c399e54e5e2621d71a1037ab8ed89478 (patch)
tree9ff38110792a3d4cb9bcf85d2b4c3b98306a534d
parentd2d51d8192f1e42a9351ab4d82f85f0c79e1780d (diff)
downloadlinux-8fb6e528c399e54e5e2621d71a1037ab8ed89478.tar.gz
linux-8fb6e528c399e54e5e2621d71a1037ab8ed89478.tar.xz
drm/amdgpu: increase IH ring buffer size to avoid overflow
We originally limited the IH to 4k on tonga since it uses bus addresses directly rather than GPU MC addresses, so it needs contigous physical memory. This brings it inline with other asics. Signed-off-by: Roger.He <Hongbo.He@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/tonga_ih.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/tonga_ih.c b/drivers/gpu/drm/amd/amdgpu/tonga_ih.c
index 2053220dacfa..3a5097ac2bb4 100644
--- a/drivers/gpu/drm/amd/amdgpu/tonga_ih.c
+++ b/drivers/gpu/drm/amd/amdgpu/tonga_ih.c
@@ -289,7 +289,7 @@ static int tonga_ih_sw_init(void *handle)
int r;
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
- r = amdgpu_ih_ring_init(adev, 4 * 1024, true);
+ r = amdgpu_ih_ring_init(adev, 64 * 1024, true);
if (r)
return r;