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 NI/SI init

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

bug:
https://www.libreoffice.org/bugzilla/show_bug.cgi?id=83500

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

-6
-6
drivers/gpu/drm/radeon/ni_dma.c
··· 191 191 u32 reg_offset, wb_offset; 192 192 int i, r; 193 193 194 - /* Reset dma */ 195 - WREG32(SRBM_SOFT_RESET, SOFT_RESET_DMA | SOFT_RESET_DMA1); 196 - RREG32(SRBM_SOFT_RESET); 197 - udelay(50); 198 - WREG32(SRBM_SOFT_RESET, 0); 199 - 200 194 for (i = 0; i < 2; i++) { 201 195 if (i == 0) { 202 196 ring = &rdev->ring[R600_RING_TYPE_DMA_INDEX];