All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: increase IH ring buffer size to avoid overflow
@ 2017-03-15 20:18 Alex Deucher
       [not found] ` <1489609115-24006-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Deucher @ 2017-03-15 20:18 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher, Roger.He

From: "Roger.He" <Hongbo.He@amd.com>

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>
---
 drivers/gpu/drm/amd/amdgpu/tonga_ih.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/tonga_ih.c b/drivers/gpu/drm/amd/amdgpu/tonga_ih.c
index 2053220..3a5097a 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;
 
-- 
2.5.5

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-16  7:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-15 20:18 [PATCH] drm/amdgpu: increase IH ring buffer size to avoid overflow Alex Deucher
     [not found] ` <1489609115-24006-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2017-03-15 21:05   ` Andres Rodriguez
     [not found]     ` <CAFQ_0eG9kP1YCLktyMT1h8RP6HkbdaeQKOSQeuiNFpKX6BYFQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-03-16  1:34       ` Alex Deucher
     [not found]         ` <CADnq5_PSZXRvkmifBD2N2ELhf3-_15xx7e_MPWTKpPTbiBp=VA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-03-16  7:57           ` Christian König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.