drm/amdgpu: move ring_from_fence to common code
authorChristian König <christian.koenig@amd.com>
Thu, 22 Oct 2015 09:29:33 +0000 (11:29 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Oct 2015 05:54:07 +0000 (01:54 -0400)
commit8120b61fdf3d3aa31d6b7e4a4f633bec1d2edd38
treecb7589068dbd04cc0031dcbd15a5f83858e81342
parentee327caf1a2cdba9313167c36db2d7ff02d534bc
drm/amdgpu: move ring_from_fence to common code

Going to need that elsewhere as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c