aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorJérôme Glisse <[email protected]>2017-02-06 15:13:18 -0500
committerAlex Deucher <[email protected]>2017-02-08 20:59:16 -0500
commit3b4821f8a4597c01318f3bebe208789bcf80aac9 (patch)
treec96598ceddd397682b27b96b9dc069b71c6b1c7f /drivers/fpga/fpga-mgr.c
parent5ada90d55f6f652ae1103dac38bb92b445a368c5 (diff)
drm/radeon: avoid kernel segfault in vce when gpu fails to resume
When GPU fails to resume we can not trust that value we write to GPU memory will post and we might get garbage (more like 0xffffffff on x86) when reading them back. This trigger out of range memory access in the kernel inside the vce resume code path. This patch use canonical value to compute offset instead of reading back value from GPU memory. Reviewed-by: Christian König <[email protected]> Signed-off-by: Jérôme Glisse <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions