diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2018-07-12 16:38:09 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-13 19:42:45 +0300 |
commit | 02ce6ce2e1d07e31e8314c761a2caa087ea094ce (patch) | |
tree | 84de0b4de7b0206ae97eb780fc84ca2d03e1dacd /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 8d4235f71513cdccd9dc52b674323c3591552bc1 (diff) | |
download | linux-02ce6ce2e1d07e31e8314c761a2caa087ea094ce.tar.xz |
drm/amdgpu/pp/smu7: use a local variable for toc indexing
Rather than using the index variable stored in vram. If
the device fails to come back online after a resume cycle,
reads from vram will return all 1s which will cause a
segfault. Based on a patch from Thomas Martitz <kugel@rockbox.org>.
This avoids the segfault, but we still need to sort out
why the GPU does not come back online after a resume.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=105760
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions