diff options
author | Jingwen Chen <Jingwen.Chen2@amd.com> | 2021-01-19 11:54:50 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-01-26 01:46:48 +0300 |
commit | 64dcf2f01d59cf9fad19b1a387bd39736a8f4d69 (patch) | |
tree | 840a300244954cba88eead9f62f54e2bb2b66100 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9024fb08159ae8f3a707c9f1facb878c84aae735 (diff) | |
download | linux-64dcf2f01d59cf9fad19b1a387bd39736a8f4d69.tar.xz |
drm/amd/amdgpu: add error handling to amdgpu_virt_read_pf2vf_data
[Why]
when vram lost happened in guest, try to write vram can lead to
kernel stuck.
[How]
When the readback data is invalid, don't do write work, directly
reschedule a new work.
Signed-off-by: Jingwen Chen <Jingwen.Chen2@amd.com>
Reviewed-by: Monk Liu<monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions