diff options
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | 2019-11-06 12:36:29 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-11-07 18:08:07 -0500 |
commit | a28fda312a9fabdf0e5f5652449d6197c9fb0a90 (patch) | |
tree | acc5d083dd3f58f66109b0c58b98005711611bf7 /include/drm | |
parent | 2b6f717c33ef40257383478479a97d9ba2da8dab (diff) | |
download | linux-a28fda312a9fabdf0e5f5652449d6197c9fb0a90.tar.bz2 |
drm/amdgpu: Avoid accidental thread reactivation.
Problem:
During GPU reset we call the GPU scheduler to suspend it's
thread, those two functions in amdgpu also suspend and resume
the sceduler for their needs but this can collide with GPU
reset in progress and accidently restart a suspended thread
before time.
Fix:
Serialize with GPU reset.
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions