drm/amdgpu: use amdgpu_bo_create_kernel more often
authorChristian König <christian.koenig@amd.com>
Thu, 27 Jul 2017 15:24:36 +0000 (17:24 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:45:56 +0000 (14:45 -0400)
commita4a02777892c16d98bbcc2ea2add47950bfbf9e0
tree8bff3ada728d2eff39876ebe6e70b7a444a18fe7
parent9d903cbd9995bd63e04d71362a8b59ce49437544
drm/amdgpu: use amdgpu_bo_create_kernel more often

Saves us quite a bunch of loc.

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_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c