diff options
author | YuBiao Wang <[email protected]> | 2021-11-04 17:32:30 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-11-05 14:11:32 -0400 |
commit | 6ddc0eb7a2e8b731991fe977eb52516fc56ac405 (patch) | |
tree | 465829698db74ab6985c612cb7fa944b5f93433f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions