Skip to contentSkip to conversation

drm/amdgpu/si: fix ring size for compute

PATCH In review Alex Deucher 2 participants 2 messages Sep 15, 2016 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/si: fix ring size for compute

We switched the other asics, but missed this.

---
 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c +1 -1
index a1484b8..9697994 100644
@@ -2779,7 +2779,7 @@ static int gfx_v6_0_sw_init(void *handle)
 		ring->queue = i;
 		sprintf(ring->name, "comp %d.%d.%d", ring->me, ring->pipe, ring->queue);
 		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,
 				     &adev->gfx.eop_irq, irq_type,
 				     AMDGPU_RING_TYPE_COMPUTE);
Signature · 6 lines
2.5.5

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1473955531-10233-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org

Reviewed-by
#2 lore raw

Am 15.09.2016 um 18:05 schrieb Alex Deucher:

Quoted 3 lines

We switched the other asics, but missed this.

Quoted 9 lines
---
  drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c +0 -0
index a1484b8..9697994 100644

drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c static int gfx_v6_0_sw_init(void *handle) · line 2785

Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c +1 -1
@@ -2779,7 +2779,7 @@ static int gfx_v6_0_sw_init(void *handle)
  		ring->queue = i;
  		sprintf(ring->name, "comp %d.%d.%d", ring->me, ring->pipe, ring->queue);
  		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,
  				     &adev->gfx.eop_irq, irq_type,
  				     AMDGPU_RING_TYPE_COMPUTE);

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx