diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-09-15 12:04:45 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-09-16 15:52:52 -0400 |
commit | 2255e8c1092fedbd3db9940e37ef44524f86a3d9 (patch) | |
tree | bd21fa3fcfbd73102ecd15443f9e674ad154495e /drivers/gpu/drm/amd/amdgpu | |
parent | 72f417a2e0b1bdb0e2accc36fd4d3b64769dce0f (diff) |
drm/amdgpu/si: fix ring size for compute
We switched the other asics, but missed this.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c index a1484b8f7eb2..9697994d3fff 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | |||
@@ -2779,7 +2779,7 @@ static int gfx_v6_0_sw_init(void *handle) | |||
2779 | ring->queue = i; | 2779 | ring->queue = i; |
2780 | sprintf(ring->name, "comp %d.%d.%d", ring->me, ring->pipe, ring->queue); | 2780 | sprintf(ring->name, "comp %d.%d.%d", ring->me, ring->pipe, ring->queue); |
2781 | irq_type = AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE0_EOP + ring->pipe; | 2781 | irq_type = AMDGPU_CP_IRQ_COMPUTE_MEC1_PIPE0_EOP + ring->pipe; |
2782 | r = amdgpu_ring_init(adev, ring, 1024 * 1024, | 2782 | r = amdgpu_ring_init(adev, ring, 1024, |
2783 | 0x80000000, 0xf, | 2783 | 0x80000000, 0xf, |
2784 | &adev->gfx.eop_irq, irq_type, | 2784 | &adev->gfx.eop_irq, irq_type, |
2785 | AMDGPU_RING_TYPE_COMPUTE); | 2785 | AMDGPU_RING_TYPE_COMPUTE); |