projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
810b73d
)
drm/radeon/cik: Read back SDMA WPTR register after writing it
author
Michel Dänzer
<michel.daenzer@amd.com>
Tue, 29 Jul 2014 09:47:22 +0000
(18:47 +0900)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 5 Aug 2014 12:53:42 +0000
(08:53 -0400)
For symmetry with other *_set_wptr hooks.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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
d629cea
..
db8ce30
100644
(file)
--- a/
drivers/gpu/drm/radeon/cik_sdma.c
+++ b/
drivers/gpu/drm/radeon/cik_sdma.c
@@
-119,6
+119,7
@@
void cik_sdma_set_wptr(struct radeon_device *rdev,
reg = SDMA0_GFX_RB_WPTR + SDMA1_REGISTER_OFFSET;
WREG32(reg, (ring->wptr << 2) & 0x3fffc);
+ (void)RREG32(reg);
}
/**