Commit 85dfc1d
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 <Jingwen.Chen2@amd.com>
Reviewed-by: Horace Chen <horace.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 91e1601 commit 85dfc1d
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2017 | 2017 | | |
2018 | 2018 | | |
2019 | 2019 | | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
2020 | 2023 | | |
2021 | 2024 | | |
2022 | 2025 | | |
2023 | 2026 | | |
2024 | 2027 | | |
2025 | 2028 | | |
| 2029 | + | |
2026 | 2030 | | |
2027 | 2031 | | |
2028 | 2032 | | |
| |||
0 commit comments