diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2018-07-12 08:38:09 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-13 14:52:50 -0500 |
commit | 3d75a8b689af2824dabe79d250b1ec535341109d (patch) | |
tree | de645ad681df1dab4f1680dfc1a8b558fb30f003 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 3f2ddfa8875ce71a8c12723d1841647af8cbb0ba (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions