Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/radeon: don't reset dma on r6xx-evergreen init

Otherwise we may lose the DMA golden settings which can
lead to hangs, etc.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org

-9
-9
drivers/gpu/drm/radeon/r600_dma.c
··· 124 124 u32 rb_bufsz; 125 125 int r; 126 126 127 - /* Reset dma */ 128 - if (rdev->family >= CHIP_RV770) 129 - WREG32(SRBM_SOFT_RESET, RV770_SOFT_RESET_DMA); 130 - else 131 - WREG32(SRBM_SOFT_RESET, SOFT_RESET_DMA); 132 - RREG32(SRBM_SOFT_RESET); 133 - udelay(50); 134 - WREG32(SRBM_SOFT_RESET, 0); 135 - 136 127 WREG32(DMA_SEM_INCOMPLETE_TIMER_CNTL, 0); 137 128 WREG32(DMA_SEM_WAIT_FAIL_TIMER_CNTL, 0); 138 129