drm/amdgpu:cleanup firmware.fw_buf alloc/free
authorMonk Liu <Monk.Liu@amd.com>
Tue, 14 Nov 2017 08:53:51 +0000 (16:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:51 +0000 (12:47 -0500)
commita95b0275ffc54131788014f15e7cb7b973201e2e
treee7ec0b6a5764e707c581b4b4d487b1a9118c8c60
parent84e5b5161e7159bcf24dfeed9f985bd86e354ea8
drm/amdgpu:cleanup firmware.fw_buf alloc/free

use bo_create/free_kernel instead of manually doing it

Signed-off-by: Monk Liu <Monk.Liu@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_ucode.c