projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a25e2
)
drm/radeon: don't reset sdma on CIK init
author
Alex Deucher
<alexander.deucher@amd.com>
Thu, 18 Sep 2014 14:18:43 +0000
(10:18 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 18 Sep 2014 22:57:09 +0000
(18:57 -0400)
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
drivers/gpu/drm/radeon/cik_sdma.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/cik_sdma.c
b/drivers/gpu/drm/radeon/cik_sdma.c
index
192278b
..
c4ffa54
100644
(file)
--- a/
drivers/gpu/drm/radeon/cik_sdma.c
+++ b/
drivers/gpu/drm/radeon/cik_sdma.c
@@
-489,13
+489,6
@@
int cik_sdma_resume(struct radeon_device *rdev)
{
int r;
- /* Reset dma */
- WREG32(SRBM_SOFT_RESET, SOFT_RESET_SDMA | SOFT_RESET_SDMA1);
- RREG32(SRBM_SOFT_RESET);
- udelay(50);
- WREG32(SRBM_SOFT_RESET, 0);
- RREG32(SRBM_SOFT_RESET);
-
r = cik_sdma_load_microcode(rdev);
if (r)
return r;