linux/drivers/gpu/drm/amd
Alex Deucher 3d75a8b689 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>
2018-07-13 14:52:50 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu/vi: fix mixed up state in smu clockgating setup 2018-07-13 14:52:41 -05:00
amdkfd Merge tag 'drm-amdkfd-next-2018-05-14' of git://people.freedesktop.org/~gabbayo/linux into drm-next 2018-05-15 16:06:08 +10:00
display drm/amd/display: properly turn autocal off 2018-07-13 14:52:33 -05:00
include drm/amd: Add interrupt source definitions for SOC15 v3. 2018-07-13 14:45:37 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amdgpu/pp/smu7: use a local variable for toc indexing 2018-07-13 14:52:50 -05:00