OSDN Git Service

drm/amdgpu: Refine gfx_v9_0_kcq_disable function
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 17 Aug 2018 08:45:16 +0000 (16:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 20:11:49 +0000 (15:11 -0500)
commitffabea84c55b1c6446b2245b87cdf6827b22e366
tree3757d719f574129cad023e6483d547c4a5382c83
parent841cf911fb9e4abd7b8bac2776943c60da9069f4
drm/amdgpu: Refine gfx_v9_0_kcq_disable function

Send all kcq unmap_queue packets and then wait for
complete.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c