Files
linux/drivers/gpu/drm/amd/display/dc
Austin Zheng eba692ca3a drm/amd/display: Call FP Protect Before Mode Programming/Mode Support
[Why]
Memory allocation occurs within dml21_validate() for adding phantom planes.
May cause kernel to be tainted due to usage of FP Start.

[How]
Move FP start from dml21_validate to before mode programming/mode support.
Calculations requiring floating point are all done within mode programming
or mode support.

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Austin Zheng <Austin.Zheng@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>
(cherry picked from commit fe3250f108)
2025-05-07 18:14:20 -04:00
..
2024-07-23 17:07:11 -04:00
2024-07-27 17:31:26 -04:00
2025-02-12 21:04:07 -05:00
2025-02-12 21:04:07 -05:00
2024-07-23 17:07:10 -04:00
2025-03-18 14:03:47 -04:00