diff options
| author | Tianci Yin <[email protected]> | 2023-02-06 07:58:46 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-04-18 20:28:54 +0000 |
| commit | 0c316556d124916e1dc2be171b3414b764972802 (patch) | |
| tree | 8cab47c5036be872a1fc2f3d715d5ee7c79d1ee8 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/amd/display: Write TEST_EDID_CHECKSUM_WRITE for EDID tests (diff) | |
| download | kernel-0c316556d124916e1dc2be171b3414b764972802.tar.gz kernel-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 <[email protected]>
Signed-off-by: Tianci Yin <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
