OSDN Git Service

drm/amdgpu: Refine gfx_v8_0_kcq_disable function
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 17 Aug 2018 06:57:18 +0000 (14:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 20:11:36 +0000 (15:11 -0500)
commita62a49e5b968a58266ee04d63ddaa81a01510b39
tree4bad6f61743c470b5a32898571980dc1c1d3a1ad
parent6c10b5cc4eaa31ecedfb98a7f3e1fa5be032e189
drm/amdgpu: Refine gfx_v8_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_v8_0.c