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 11:42:45 -0500 |
commit | 02ce6ce2e1d07e31e8314c761a2caa087ea094ce (patch) | |
tree | 84de0b4de7b0206ae97eb780fc84ca2d03e1dacd /fs/jbd2/commit.c | |
parent | 8d4235f71513cdccd9dc52b674323c3591552bc1 (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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions