aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorTianci Yin <tianci.yin@amd.com>2023-02-06 15:58:46 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-04-18 16:28:54 -0400
commit0c316556d124916e1dc2be171b3414b764972802 (patch)
tree8cab47c5036be872a1fc2f3d715d5ee7c79d1ee8 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent2a66c0c9d20238812172693b5bef28c6c659eff4 (diff)
downloadlinux-0c316556d124916e1dc2be171b3414b764972802.tar.gz
linux-0c316556d124916e1dc2be171b3414b764972802.tar.bz2
linux-0c316556d124916e1dc2be171b3414b764972802.zip
drm/amd/display: Disable migration to ensure consistency of per-CPU variable
[why] Since the variable fpu_recursion_depth is per-CPU type, it has one copy on each CPU, thread migration causes data consistency issue, then the call trace shows up. And preemption disabling can't prevent migration. [how] Disable migration to ensure consistency of fpu_recursion_depth. Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Tianci Yin <tianci.yin@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions