diff options
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | 2019-11-06 20:36:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-31 18:45:07 +0300 |
commit | c1e8f4a937ecc3e338657577ea7677b39e04f375 (patch) | |
tree | 72a768a6b02a64ffa13308d9bbb1c3fce4a5d40c /drivers/media/platform/exynos4-is/media-dev.c | |
parent | a58f4afe22354a080cc099f5edcde15b8805c410 (diff) | |
download | linux-c1e8f4a937ecc3e338657577ea7677b39e04f375.tar.xz |
drm/amdgpu: Avoid accidental thread reactivation.
[ Upstream commit a28fda312a9fabdf0e5f5652449d6197c9fb0a90 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/media/platform/exynos4-is/media-dev.c')
0 files changed, 0 insertions, 0 deletions