drm/amdgpu: use amdgpu_bo_[create|free]_kernel for wb
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Oct 2016 19:30:36 +0000 (15:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:55 +0000 (14:38 -0400)
commita76ed485c57e37d22c7f47eb63120b3618930297
tree97fc4a268b011f8a63da778250d109ca6bb4b138
parent986147018171dc5eecf263d06920e043f7aca27d
drm/amdgpu: use amdgpu_bo_[create|free]_kernel for wb

Rather than open coding it.

Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c