Commit 94da073
drm/amd/display: Remove unnecessary DC_FP_START/DC_FP_END
[WHY & HOW]
Remove the unnecessary DC_FP_START/DC_FP_END pair to reduce time in
preempt_disable. It also fixes "BUG: sleeping function called from
invalid context" error messages because of calling kzalloc with
GFP_KERNEL which can sleep.
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent a9cbeb6 commit 94da073
File tree
1 file changed
+0
-6
lines changed- drivers/gpu/drm/amd/display/dc/resource/dcn32
1 file changed
+0
-6
lines changedLines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2114 | 2114 | | |
2115 | 2115 | | |
2116 | 2116 | | |
2117 | | - | |
2118 | | - | |
2119 | 2117 | | |
2120 | 2118 | | |
2121 | 2119 | | |
| |||
2501 | 2499 | | |
2502 | 2500 | | |
2503 | 2501 | | |
2504 | | - | |
2505 | | - | |
2506 | 2502 | | |
2507 | 2503 | | |
2508 | 2504 | | |
2509 | 2505 | | |
2510 | | - | |
2511 | | - | |
2512 | 2506 | | |
2513 | 2507 | | |
2514 | 2508 | | |
| |||
0 commit comments