diff options
author | Tianci Yin <tianci.yin@amd.com> | 2023-02-06 10:58:46 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-04-27 05:36:53 +0300 |
commit | b1bcdd409d2d158867ce0b71cfa9bcefe83ce07f (patch) | |
tree | 01f143c1b67f60e37b92387478ac907cd57e96f0 /drivers/gpu/drm/amd/display/dc/dml/dcn21 | |
parent | fc3888fe2c63b35a22db8234d142823a5ffda9d8 (diff) | |
download | linux-b1bcdd409d2d158867ce0b71cfa9bcefe83ce07f.tar.xz |
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/display/dc/dml/dcn21')
0 files changed, 0 insertions, 0 deletions