diff options
author | Austin Zheng <Austin.Zheng@amd.com> | 2025-04-17 17:24:29 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-05-05 19:58:36 +0300 |
commit | fe3250f10819b411808ab9ae1d824c5fc9b59170 (patch) | |
tree | 4902cbd1f465885f7e07e090bddc3204ff2e79d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 94da0735b67b3ada90a3e2e017d306f070306f1d (diff) | |
download | linux-fe3250f10819b411808ab9ae1d824c5fc9b59170.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions