drm/amdgpu: move wait_queue_head from adev to ring (v2)
authormonk.liu <monk.liu@amd.com>
Thu, 30 Jul 2015 10:28:12 +0000 (18:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:50:48 +0000 (16:50 -0400)
commit7f06c236b964db3d8d086c5a0087b2eb4de3bf7a
tree37893ae39ea28e71e1066ce10dca5b9318784e96
parente29551556e055f463fb80cfb07e1cb15641e60a3
drm/amdgpu: move wait_queue_head from adev to ring (v2)

thus unnecessary wake up could be avoid between rings
v2:
move wait_queue_head to fence_drv from ring

Signed-off-by: monk.liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c