drm/amdgpu:Fix the unpin warning about csb buffer
authorEmily Deng <Emily.Deng@amd.com>
Wed, 29 May 2019 08:15:52 +0000 (16:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 May 2019 15:39:29 +0000 (10:39 -0500)
commit789142eb8bae10ad17872f08b2bd08b8d24743ae
treeeb330234baa52bcb8cd6719bc032fc3944b04787
parentefb426d581288c40263829dda43a7229f1125e06
drm/amdgpu:Fix the unpin warning about csb buffer

As it will destroy clear_state_obj, and also will unpin it in the
gfx_v9_0_sw_fini, so don't need to
call amdgpu_bo_free_kernel in gfx_v9_0_sw_fini, or it will have unpin warning.

Signed-off-by: Emily Deng <Emily.Deng@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/gfx_v9_0.c