drm/amdgpu: parameterize ttm BO destroy callback
authorNirmoy Das <nirmoy.das@amd.com>
Mon, 14 Jun 2021 17:49:50 +0000 (19:49 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Jun 2021 21:25:42 +0000 (17:25 -0400)
commit23e24fbb7695d42fa90afefe08c06f29b47548ee
tree8f9e522b19a256641a32caf1f147cb68cf6b0b03
parent391629bdfcb9014e8bcd1be216b59854877e70ed
drm/amdgpu: parameterize ttm BO destroy callback

Make provision to pass different ttm BO destroy callback
while creating a amdgpu_bo.

Signed-off-by: Nirmoy Das <nirmoy.das@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