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
..
basics drm/amd/display: Fix BT2020 YCbCr limited/full range input 2025-02-19 15:14:10 -05:00
bios drm/amd/display/dc: Refactor remove duplications 2025-02-27 15:52:32 -05:00
clk_mgr drm/amd/display: Guard against setting dispclk low for dcn31x 2025-03-18 14:03:46 -04:00
core drm/amd/display: Change notification of link BW allocation 2025-03-18 14:03:46 -04:00
dccg drm/amd/display: Refactor DCN4x and related code 2025-02-25 11:44:02 -05:00
dce drm/amd/display: Use HW lock mgr for PSR1 when only one eDP 2025-03-18 14:03:46 -04:00
dce60 drm/amd/display: fix missing .is_two_pixels_per_container 2025-03-07 12:54:51 -05:00
dce80
dce110 drm/amd/display: Remove unused get_max_support_fbc_buffersize 2025-02-12 21:03:03 -05:00
dce112
dce120
dcn10 drm/amd/display: log destination of vertical interrupt 2025-02-12 21:02:57 -05:00
dcn20
dcn21
dcn30
dcn31
dcn201
dcn301
dio drm/amd/display: misc for dio encoder refactor 2025-03-05 10:39:20 -05:00
dml drm/amd/display: Enable urgent latency adjustment on DCN35 2025-04-22 16:46:34 -04:00
dml2 drm/amd/display: Call FP Protect Before Mode Programming/Mode Support 2025-05-07 18:14:20 -04:00
dpp drm/amd/display: handle max_downscale_src_width fail check 2025-02-25 11:45:11 -05:00
dsc drm/amd/display: Allow reuse of of DCN4x code 2025-02-12 21:03:01 -05:00
dwb
gpio drm/amd/display: Add DCN36 GPIO 2025-02-12 21:04:07 -05:00
hdcp
hpo drm/amd/display: Refactor DCN4x and related code 2025-02-25 11:44:02 -05:00
hubbub drm/amd/display: Remove unused hubbub1_toggle_watermark_change_req 2025-02-12 21:03:03 -05:00
hubp drm/amd/display: Allow reuse of of DCN4x code 2025-02-12 21:03:01 -05:00
hwss drm/amd/display: prevent hang on link training fail 2025-03-26 17:43:25 -04:00
inc drm/amd/display: Change notification of link BW allocation 2025-03-18 14:03:46 -04:00
irq drm/amd/display: Add DCN36 IRQ 2025-02-12 21:04:07 -05:00
link drm/amd/display: Use 16ms AUX read interval for LTTPR with old sinks 2025-04-22 16:49:15 -04:00
mmhubbub drm/amd/display: Allow reuse of of DCN4x code 2025-02-12 21:03:01 -05:00
mpc drm/amd/display: Refactor DCN4x and related code 2025-02-25 11:44:02 -05:00
opp
optc drm/amd/display: Refactor DCN4x and related code 2025-02-25 11:44:02 -05:00
pg
resource drm/amd/display: Remove unnecessary DC_FP_START/DC_FP_END 2025-05-07 18:14:02 -04:00
sspl drm/amd/display: Remove incorrect macro guard 2025-03-13 23:11:55 -04:00
virtual
Makefile drm/amd/display: Move SPL to a new path 2025-02-12 21:03:01 -05:00
dc.h drm/amd/display: 3.2.325 2025-03-18 14:03:47 -04:00
dc_bios_types.h
dc_ddc_types.h
dc_dmub_srv.c drm/amd/display: Revert "Support for reg inbox0 for host->DMUB CMDs" 2025-03-18 14:03:46 -04:00
dc_dmub_srv.h drm/amd/display: Revert "Support for reg inbox0 for host->DMUB CMDs" 2025-03-18 14:03:46 -04:00
dc_dp_types.h drm/amd/display: Implement PCON regulated autonomous mode handling 2025-03-10 13:28:34 -04:00
dc_dsc.h
dc_edid_parser.c
dc_edid_parser.h
dc_hdmi_types.h
dc_helper.c drm/amd/display: Revert "Support for reg inbox0 for host->DMUB CMDs" 2025-03-18 14:03:46 -04:00
dc_hw_types.h drm/amd/display: Do not enable replay when vtotal update is pending. 2025-03-10 13:28:17 -04:00
dc_plane.h drm/amd/display: Rename panic function 2025-02-19 15:12:49 -05:00
dc_plane_priv.h
dc_spl_translate.c drm/amd/display: Move SPL to a new path 2025-02-12 21:03:01 -05:00
dc_spl_translate.h
dc_stat.h
dc_state.h
dc_state_priv.h
dc_stream.h drm/amd/display: Remove unused dc_stream_get_crtc_position 2025-02-12 21:03:02 -05:00
dc_stream_priv.h
dc_trace.h
dc_types.h drm/amd/display: Change notification of link BW allocation 2025-03-18 14:03:46 -04:00
dm_cp_psp.h
dm_event_log.h
dm_helpers.h
dm_pp_smu.h
dm_services.h drm/amd/display: ACPI Re-timer Programming 2025-02-25 11:44:36 -05:00
dm_services_types.h drm/amd/display: ACPI Re-timer Programming 2025-02-25 11:44:36 -05:00
irq_types.h drm/amd/display: add new IRQ enum for underflows 2025-02-12 21:04:09 -05:00
os_types.h