]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: fix gfx wptr for sdma v4
authorJunwei Zhang <Jerry.Zhang@amd.com>
Wed, 31 Oct 2018 02:36:34 +0000 (10:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:47 +0000 (14:21 -0500)
commit2a5ae84bf31e09526788def14e4b28c6d4d756f9
tree23d0d68a7984e3ac74536d0da19e27994907c460
parent1cf03c54b3d89ccbaee45abbbf10c098f23801d5
drm/amdgpu: fix gfx wptr for sdma v4

The wptr value will be shitfed when function returns.
Remove the redundant shift and clean up.

Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c