aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorAndrey Grodzovsky <[email protected]>2019-09-10 19:34:16 +0000
committerAlex Deucher <[email protected]>2019-09-16 15:09:59 +0000
commit708901a6664fdc8a39d7946a3995d46eca4fb3e9 (patch)
tree7e7df3e3263172e052993b599980f13dc6e4c1c8 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amdgpu: Add SRIOV mailbox backend for Navi1x (diff)
downloadkernel-708901a6664fdc8a39d7946a3995d46eca4fb3e9.tar.gz
kernel-708901a6664fdc8a39d7946a3995d46eca4fb3e9.zip
drm/amdgpu: Fix mutex lock from atomic context.
Problem: amdgpu_ras_reserve_bad_pages was moved to amdgpu_ras_reset_gpu because writing to EEPROM during ASIC reset was unstable. But for ERREVENT_ATHUB_INTERRUPT amdgpu_ras_reset_gpu is called directly from ISR context and so locking is not allowed. Also it's irrelevant for this partilcular interrupt as this is generic RAS interrupt and not memory errors specific. Fix: Avoid calling amdgpu_ras_reserve_bad_pages if not in task context. Signed-off-by: Andrey Grodzovsky <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Reviewed-by: Guchun Chen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions