summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorDennis Li <Dennis.Li@amd.com>2020-09-01 09:03:53 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-09-03 14:46:55 -0400
commit81202807ae6096bfbbfa28c2bc83cae1841bba38 (patch)
treec165a6dea757faa271208675fae516c67b74b402 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentf6eb433954bf32ab582208d9b58ec397f7814e5a (diff)
drm/amdgpu: block ring buffer access during GPU recovery
When GPU is in reset, its status isn't stable and ring buffer also need be reset when resuming. Therefore driver should protect GPU recovery thread from ring buffer accessed by other threads. Otherwise GPU will randomly hang during recovery. v2: correct indent Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Dennis Li <Dennis.Li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions