diff options
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | 2021-09-17 07:18:29 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-09-23 15:17:29 -0400 |
commit | ebe86a57c882871a927986ee6514cb171483d074 (patch) | |
tree | e92a0f0da99afa77d92f7e9341ca428f3488a059 /tools/perf/scripts/python/export-to-postgresql.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 <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions