]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix colliding of preemption
authorMonk Liu <Monk.Liu@amd.com>
Thu, 6 Feb 2020 15:55:58 +0000 (23:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2020 16:01:25 +0000 (11:01 -0500)
commit6866373a88bbcb7d234ae21bbf4c600a76c35d20
tree6237bfe490e37e679cc3db9f47d50c4ba619b342
parenta40c613249d8750246c7d672f7c346b615cc6e7b
drm/amdgpu: fix colliding of preemption

what:
some os preemption path is messed up with world switch preemption

fix:
cleanup those logics so os preemption not mixed with world switch

this patch is a general fix for issues comes from SRIOV MCBP, but
there is still UMD side issues not resovlved yet, so this patch
cannot fix all world switch bug.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c