drm/amdgpu: add helper to convert a ttm bo to amdgpu_bo
authorAndres Rodriguez <[email protected]>
Sat, 16 Sep 2017 01:05:19 +0000 (21:05 -0400)
committerAlex Deucher <[email protected]>
Mon, 9 Oct 2017 20:30:19 +0000 (16:30 -0400)
commitb82485fd384a56c27fae44e649552eca6334237a
treee76d630f2fe71fa5a435f7abb0e45f0ac005ba7e
parent9fc8fc709b356c85034cbcb3b84c9d8b77865f52
drm/amdgpu: add helper to convert a ttm bo to amdgpu_bo

Reviewed-by: Christian König <[email protected]>
Signed-off-by: Andres Rodriguez <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c