diff options
author | Emily Deng <[email protected]> | 2018-03-07 09:47:43 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-03-07 16:10:35 -0500 |
commit | 4062119b9d958df33bcda703dc3ac646908fa861 (patch) | |
tree | e585350e0f4d3def663ca0c45720aed5c06c7d53 /lib/test-string_helpers.c | |
parent | 8113cf9cab1713e8b711f195bf673206f44fa050 (diff) |
drm/amdgpu: Clean sdma wptr register when only enable wptr polling
The sdma wptr polling memory is not fast enough, then the sdma
wptr register will be random, and not equal to sdma rptr, which
will cause sdma engine hang when load driver, so clean up the sdma
wptr directly to fix this issue.
v2:add comment above the code and correct coding style
Reviewed-by: Xiangliang Yu <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Emily Deng <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions