diff options
author | Austin Zheng <Austin.Zheng@amd.com> | 2025-04-17 10:24:29 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-05-07 18:14:20 -0400 |
commit | eba692ca3abca258b3214a6e4126afefad1822f0 (patch) | |
tree | f16a8b8b35f1d09f905e17ca9f9a864c03c06fd6 /rust/helpers/signal.c | |
parent | 2a24755774ef8db33139e2d9a968cc585c6488da (diff) |
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 fe3250f10819b411808ab9ae1d824c5fc9b59170)
Diffstat (limited to 'rust/helpers/signal.c')
0 files changed, 0 insertions, 0 deletions