Commit 2255e8c1 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/si: fix ring size for compute

We switched the other asics, but missed this.
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 72f417a2
...@@ -2779,7 +2779,7 @@ static int gfx_v6_0_sw_init(void *handle) ...@@ -2779,7 +2779,7 @@ static int gfx_v6_0_sw_init(void *handle)
ring->queue = i; ring->queue = i;
sprintf(ring->name, "comp %d.%d.%d", ring->me, ring->pipe, ring->queue); sprintf(ring->name, "comp %d.%d.%d", ring->me, ring->pipe, ring->queue);
irq_type = AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE0_EOP + ring->pipe; irq_type = AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE0_EOP + ring->pipe;
r = amdgpu_ring_init(adev, ring, 1024 * 1024, r = amdgpu_ring_init(adev, ring, 1024,
0x80000000, 0xf, 0x80000000, 0xf,
&adev->gfx.eop_irq, irq_type, &adev->gfx.eop_irq, irq_type,
AMDGPU_RING_TYPE_COMPUTE); AMDGPU_RING_TYPE_COMPUTE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment