diff options
| author | Andrey Grodzovsky <[email protected]> | 2021-09-17 07:18:29 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-09-23 15:17:29 -0400 |
| commit | ebe86a57c882871a927986ee6514cb171483d074 (patch) | |
| tree | e92a0f0da99afa77d92f7e9341ca428f3488a059 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | c03509cbc01559549700e14c4a6239f2572ab4ba (diff) | |
drm/amdgpu: Fix resume failures when device is gone
Problem:
When device goes into suspend and unplugged during it
then all HW programming during resume fails leading
to a bad SW during pci remove handling which follows.
Because device is first resumed and only later removed
we cannot rely on drm_dev_enter/exit here.
Fix:
Use a flag we use for PCIe error recovery to avoid
accessing registres. This allows to successfully complete
pm resume sequence and finish pci remove.
Signed-off-by: Andrey Grodzovsky <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions