drm/amdgpu: cleanup amdgpu_fence_wait_empty v2
authorChristian König <christian.koenig@amd.com>
Sun, 13 Mar 2016 18:37:01 +0000 (19:37 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Mar 2016 21:59:32 +0000 (17:59 -0400)
commitf09c2be4d4804963f18417abd5b51bc8a8330851
tree783bfcb51c3ef956e6c2aa8d873aa209874f1239
parentc89377d10a11e5d8be11525f220dc624574c1aa5
drm/amdgpu: cleanup amdgpu_fence_wait_empty v2

Just wait for last fence instead of waiting for the sequence manually.

v2: don't use amdgpu_sched_jobs for the mask

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c