From: Roger.He Date: Tue, 14 Mar 2017 08:47:30 +0000 (+0800) Subject: drm/amdgpu: increase IH ring buffer size to avoid overflow X-Git-Tag: v4.12-rc1~116^2~23^2~195 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8fb6e528c399e54e5e2621d71a1037ab8ed89478;p=karo-tx-linux.git 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 Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- 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;