drm/amdgpu: fix lost sync_to if scheduler is enabled.

commit 888c9e33e4 upstream.

when scheduler is enabled, the semaphore isn't used at all.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Chunming Zhou 2016-01-13 12:55:18 +08:00 • committed by Greg Kroah-Hartman
commit 3be127a962