aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorDennis Li <[email protected]>2021-03-10 09:20:45 +0000
committerAlex Deucher <[email protected]>2021-04-09 20:34:53 +0000
commit56b53c0b5aa5de49747351b2ad323fd36089eb52 (patch)
tree142d0d64ff22005bc80e515fc57a9e2371bb92f5 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentMerge tag 'drm-misc-next-2021-04-09' of git://anongit.freedesktop.org/drm/drm... (diff)
downloadkernel-56b53c0b5aa5de49747351b2ad323fd36089eb52.tar.gz
kernel-56b53c0b5aa5de49747351b2ad323fd36089eb52.zip
drm/amdgpu: add codes to capture invalid hardware access when recovery
When recovery thread has begun GPU reset, there should be not other threads to access hardware, otherwise system randomly hang. v2 (chk): rewritten from scratch, use trylock and lockdep instead of hand wiring the logic. v3: add in_irq check v4: change to check in_task Signed-off-by: Dennis Li <[email protected]> Signed-off-by: Christian König <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions