Skip to contentSkip to conversation

drm/radeon/6xx: disable use of the DMA ring for ttm bo moves

PATCH In review [email protected] 2 participants 3 messages Dec 23, 2012 – Dec 25, 2012

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

PATCH 1/1 drm/radeon/6xx: disable use of the DMA ring for ttm bo moves

From: Alex Deucher <[email protected]>

Seems to fall over in some cases with heavy memory thrashing on 6xx. Needs more investigation after the holidays, disable for now.

Cc Markus Trippelsdorf <[email protected]>
Cc Borislav Petkov <[email protected]>
---
 drivers/gpu/drm/radeon/radeon_asic.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/radeon/radeon_asic.c +4 -4
index 596bcbe..c66b92d 100644
@@ -974,8 +974,8 @@ static struct radeon_asic r600_asic = {
 		.blit_ring_index = RADEON_RING_TYPE_GFX_INDEX,
 		.dma = &r600_copy_dma,
 		.dma_ring_index = R600_RING_TYPE_DMA_INDEX,
-		.copy = &r600_copy_dma,
-		.copy_ring_index = R600_RING_TYPE_DMA_INDEX,
+		.copy = &r600_copy_blit,
+		.copy_ring_index = RADEON_RING_TYPE_GFX_INDEX,
 	},
 	.surface = {
 		.set_reg = r600_set_surface_reg,
@@ -1058,8 +1058,8 @@ static struct radeon_asic rs780_asic = {
 		.blit_ring_index = RADEON_RING_TYPE_GFX_INDEX,
 		.dma = &r600_copy_dma,
 		.dma_ring_index = R600_RING_TYPE_DMA_INDEX,
-		.copy = &r600_copy_dma,
-		.copy_ring_index = R600_RING_TYPE_DMA_INDEX,
+		.copy = &r600_copy_blit,
+		.copy_ring_index = RADEON_RING_TYPE_GFX_INDEX,
 	},
 	.surface = {
 		.set_reg = r600_set_surface_reg,
Signature · 1 line
1.7.7.5
#1 lore raw
Quoted 9 lines · On Sun, Dec 23, 2012 at 01:28:25PM -0500, [email protected] wrote:

From: Alex Deucher <[email protected]>

Seems to fall over in some cases with heavy memory thrashing on 6xx. Needs more investigation after the holidays, disable for now.

Cc Markus Trippelsdorf <[email protected]>
Cc Borislav Petkov <[email protected]>

Yep, running with the revert doesn't show any other adverse effects so the real fix can take its time, relax and enjoy the holidays :-).

I'll test this one tomorrow just in case, even though it looks trivial.

Thanks.

Signature · 5 lines
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
Tested-by on v1 1/1
#2 lore raw
In reply to [email protected]
Quoted 9 lines · On Sun, Dec 23, 2012 at 01:28:25PM -0500, [email protected] wrote:

From: Alex Deucher <[email protected]>

Seems to fall over in some cases with heavy memory thrashing on 6xx. Needs more investigation after the holidays, disable for now.

Cc Markus Trippelsdorf <[email protected]>
Cc Borislav Petkov <[email protected]>
Signature · 5 lines
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--