diff options
author | Philip Yang <[email protected]> | 2020-05-21 09:56:58 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-05-21 17:59:45 -0400 |
commit | f7646585a30ed8ef5ab300d4dc3b0c1d6afbe71d (patch) | |
tree | ec7757b26303e5ae277cd427bacc934d7df8a3fc /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | 62cc895c02fb9d1170f02dc1dfa3c2135ebe100b (diff) |
drm/amdkfd: fix restore worker race condition
In free memory of gpu path, remove bo from validate_list to make sure
restore worker don't access the BO any more, then unregister bo MMU
interval notifier. Otherwise, the restore worker will crash in the
middle of validating BO user pages if MMU interval notifer is gone.
Signed-off-by: Philip Yang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions