mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/amd/display: Wrap dcn301_calculate_wm_and_dlg for FPU.
Mirrors the logic for dcn30. Cue lots of WARNs and some kernel panics without this fix. Cc: stable@vger.kernel.org Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
72a8d87b87
commit
25f1488bdb
@@ -327,7 +327,7 @@ void dcn301_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info)
|
||||
dcn3_01_soc.sr_exit_time_us = bb_info.dram_sr_exit_latency_100ns * 10;
|
||||
}
|
||||
|
||||
void dcn301_calculate_wm_and_dlg(struct dc *dc,
|
||||
void dcn301_calculate_wm_and_dlg_fp(struct dc *dc,
|
||||
struct dc_state *context,
|
||||
display_e2e_pipe_params_st *pipes,
|
||||
int pipe_cnt,
|
||||
|
||||
@@ -34,7 +34,7 @@ void dcn301_fpu_set_wm_ranges(int i,
|
||||
|
||||
void dcn301_fpu_init_soc_bounding_box(struct bp_soc_bb_info bb_info);
|
||||
|
||||
void dcn301_calculate_wm_and_dlg(struct dc *dc,
|
||||
void dcn301_calculate_wm_and_dlg_fp(struct dc *dc,
|
||||
struct dc_state *context,
|
||||
display_e2e_pipe_params_st *pipes,
|
||||
int pipe_cnt,
|
||||
|
||||
Reference in New Issue
Block a user