drm/amdgpu: fix lockup when clean pending fences
authorJunwei Zhang <Jerry.Zhang@amd.com>
Tue, 13 Oct 2015 03:14:23 +0000 (11:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Oct 2015 20:20:32 +0000 (16:20 -0400)
commit2fcef6ec87a044221fc3c2f16873f7c02b9ae991
treefac287c80563619e101bfe3610380a1e262c9305
parent2440ff2c9151120c8ae27de6565b11831ee07e08
drm/amdgpu: fix lockup when clean pending fences

The first lockup fence will lock the fence list of scheduler.
Then cancel the delayed workqueues for all clean pending fences
without waiting the workqueues to finish.

Change-Id: I9bec826de1aa49d587b0662f3fb4a95333979429
Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c