diff options
author | Dennis Li <[email protected]> | 2020-09-02 17:11:09 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-09-15 18:16:04 -0400 |
commit | 087d764159996ae378b08c0fdd557537adfd6899 (patch) | |
tree | 44a3abd573f8a5d336fa232fd9a06f35f61244dc /scripts/gdb/linux/utils.py | |
parent | 66a5710beaf42903d553378f609166034bd219c7 (diff) |
drm/amdkfd: fix a memory leak issue
In the resume stage of GPU recovery, start_cpsch will call pm_init
which set pm->allocated as false, cause the next pm_release_ib has
no chance to release ib memory.
Add pm_release_ib in stop_cpsch which will be called in the suspend
stage of GPU recovery.
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Dennis Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions