diff options
author | YuBiao Wang <YuBiao.Wang@amd.com> | 2021-11-04 17:32:30 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-11-05 14:11:32 -0400 |
commit | 6ddc0eb7a2e8b731991fe977eb52516fc56ac405 (patch) | |
tree | 465829698db74ab6985c612cb7fa944b5f93433f /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
parent | c4fc13b5818f6e55ca86672dfddd9ea3a4fed470 (diff) |
drm/amd/amdgpu: Fix csb.bo pin_count leak on gfx 9
[Why]
csb bo is not unpinned in gfx 9. It will lead to pin_count leak on
driver unload.
[How]
Call bo_free_kernel corresponding to bo_create_kernel in
gfx_rlc_init_csb. This will also unify the code path with other gfx
versions.
Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
0 files changed, 0 insertions, 0 deletions