aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorEmily Deng <Emily.Deng@amd.com>2018-03-07 09:47:43 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-03-07 16:10:35 -0500
commit4062119b9d958df33bcda703dc3ac646908fa861 (patch)
treee585350e0f4d3def663ca0c45720aed5c06c7d53 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parent8113cf9cab1713e8b711f195bf673206f44fa050 (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 <Xiangliang.Yu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Emily Deng <Emily.Deng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions