drm/amdgpu: add amdgpu_get_sdma_instance helper function
authorJammy Zhou <Jammy.Zhou@amd.com>
Tue, 1 Sep 2015 04:56:17 +0000 (12:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Sep 2015 16:23:58 +0000 (12:23 -0400)
commit4b2f7e2ca94d58ea16e411a1f717392b91f7730a
treeac57d4fb4dde5cbcaa860c14dd876b371c8d56c5
parent36f523a7c095192662286057a7eb70d583203fe5
drm/amdgpu: add amdgpu_get_sdma_instance helper function

This function is added to map the ring to sdma instance

Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h