diff options
author | Jingwen Chen <[email protected]> | 2021-12-14 11:31:16 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-12-14 16:09:49 -0500 |
commit | 85dfc1d692c9434c37842e610be37cd4ae4e0081 (patch) | |
tree | 0aad423309e304ad3faa2fd4fcbc54819039ef4b /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 91e16017b6d36c2b7358654ccce9f69b2448df20 (diff) |
drm/amd/amdgpu: fix psp tmr bo pin count leak in SRIOV
[Why]
psp tmr bo will be pinned during loading amdgpu and reset in SRIOV while
only unpinned in unload amdgpu
[How]
add amdgpu_in_reset and sriov judgement to skip pin bo
v2: fix wrong judgement
Signed-off-by: Jingwen Chen <[email protected]>
Reviewed-by: Horace Chen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions