summaryrefslogtreecommitdiff
path: root/drivers/media/platform/exynos4-is/media-dev.c
diff options
context:
space:
mode:
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>2019-11-06 12:36:29 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-31 16:45:07 +0100
commitc1e8f4a937ecc3e338657577ea7677b39e04f375 (patch)
tree72a768a6b02a64ffa13308d9bbb1c3fce4a5d40c /drivers/media/platform/exynos4-is/media-dev.c
parenta58f4afe22354a080cc099f5edcde15b8805c410 (diff)
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