aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-07-12 09:38:09 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-07-13 12:42:45 -0400
commit02ce6ce2e1d07e31e8314c761a2caa087ea094ce (patch)
tree84de0b4de7b0206ae97eb780fc84ca2d03e1dacd /drivers/fpga/fpga-mgr.c
parent8d4235f71513cdccd9dc52b674323c3591552bc1 (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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions