diff options
| author | 2018-07-12 08:38:09 -0500 | |
|---|---|---|
| committer | 2018-07-13 14:52:50 -0500 | |
| commit | 3d75a8b689af2824dabe79d250b1ec535341109d (patch) | |
| tree | de645ad681df1dab4f1680dfc1a8b558fb30f003 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/amdgpu/vi: fix mixed up state in smu clockgating setup (diff) | |
| download | linux-dev-3d75a8b689af2824dabe79d250b1ec535341109d.tar.xz linux-dev-3d75a8b689af2824dabe79d250b1ec535341109d.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
