drm/amdgpu: add new helper for in kernel allocations
authorChristian König <christian.koenig@amd.com>
Mon, 14 Dec 2015 12:18:01 +0000 (13:18 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:32:15 +0000 (11:32 -0400)
commit7c204889dec5e745cdcc174388fa3aa824e75160
treeda3bd3470ed92ad83da9e349e1386f396a89220f
parent81e04e1809057128abe1b996ca7bc0cbb38e56c9
drm/amdgpu: add new helper for in kernel allocations

We often allocate, pin and map things at the same time in the kernel.

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