]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: use CPU to flush vmhub if sched stopped
authorMonk Liu <Monk.Liu@amd.com>
Tue, 26 Nov 2019 11:40:08 +0000 (19:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Dec 2019 16:39:21 +0000 (11:39 -0500)
commitcc0da8560941c9922bd477e49e42373444468638
treed8d7120a7bcb6a3dced8d9927610e6ab06c284fc
parent4430b4ea59f12422dabb42b3274dd2691ebb0868
drm/amdgpu: use CPU to flush vmhub if sched stopped

otherwse the flush_gpu_tlb will hang if we unload the
KMD becuase the schedulers already stopped

Signed-off-by: Monk Liu <Monk.Liu@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/gmc_v10_0.c