drm/amdgpu: fix lost sync_to if scheduler is enabled.
authorChunming Zhou <David1.Zhou@amd.com>
Wed, 13 Jan 2016 04:55:18 +0000 (12:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Jan 2016 16:39:15 +0000 (11:39 -0500)
commit888c9e33e4c5a503285921046c621f7c73199d2f
tree326bf7e6700c5b4477401723c61ba1a7e1ed735c
parentf3b5cb3e68952d4a721cc733e03eeb5151dcaa1e
drm/amdgpu: fix lost sync_to if scheduler is enabled.

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c