drm/amdgpu: add a new helper to free a BO in kernel allocations
authorJunwei Zhang <Jerry.Zhang@amd.com>
Thu, 8 Sep 2016 02:13:32 +0000 (10:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Sep 2016 19:10:26 +0000 (15:10 -0400)
commitaa1d562e645d2542b48bdd42903726adfc87efb3
tree7f3d07a3afa835a5ebfe30bd649398caca796daf
parentad2473af273b81cf184d6e43a395a128d4db7b87
drm/amdgpu: add a new helper to free a BO in kernel allocations

Free the BO allocated by amdgpu_bo_create_kernel()

Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@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