mirror of https://gitee.com/openkylin/linux.git
drm/radeon/cik: Read back SDMA WPTR register after writing it
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>
This commit is contained in:
parent
810b73d190
commit
f069dc1dbc
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue