summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos/exynos_drm_gem.h
diff options
context:
space:
mode:
authorDennis Li <Dennis.Li@amd.com>2021-03-10 17:20:45 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-04-09 16:34:53 -0400
commit56b53c0b5aa5de49747351b2ad323fd36089eb52 (patch)
tree142d0d64ff22005bc80e515fc57a9e2371bb92f5 /drivers/gpu/drm/exynos/exynos_drm_gem.h
parentc103b850721e4a79ff9578f131888129c37a4679 (diff)
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 <Dennis.Li@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_gem.h')
0 files changed, 0 insertions, 0 deletions