drm/amdgpu: improve amdgpu_bo_create_kernel
authorChristian König <christian.koenig@amd.com>
Thu, 27 Jul 2017 12:52:53 +0000 (14:52 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:45:55 +0000 (14:45 -0400)
commit53766e5adac75872e9d413cdbfd0e47ae40701f9
tree42c68e850200e19c3a630b72172a0e0b18b374fb
parented5b89c69cb037c5803c36050377c4b233fbf0b6
drm/amdgpu: improve amdgpu_bo_create_kernel

Make allocating the new BO optional.

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