mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
drm/amd/display: Don't set dram clock change requirement for SubVP
[Description] In general cases we want to keep the dram clock change requirement (we prefer configs that support MCLK switch). Only override to false for SubVP. Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
0147064588
commit
fff7eb56b3
@ -184,6 +184,7 @@ struct _vcs_dpi_soc_bounding_box_st {
|
||||
double max_avg_fabric_bw_use_normal_percent;
|
||||
double max_avg_dram_bw_use_normal_strobe_percent;
|
||||
enum dm_prefetch_modes allow_for_pstate_or_stutter_in_vblank_final;
|
||||
bool dram_clock_change_requirement_final;
|
||||
double writeback_latency_us;
|
||||
double ideal_dram_bw_after_urgent_percent;
|
||||
double pct_ideal_dram_sdp_bw_after_urgent_pixel_only; // PercentOfIdealDRAMFabricAndSDPPortBWReceivedAfterUrgLatencyPixelDataOnly
|
||||
|
@ -343,7 +343,7 @@ static void fetch_socbb_params(struct display_mode_lib *mode_lib)
|
||||
mode_lib->vba.MaxAveragePercentOfIdealDRAMBWDisplayCanUseInNormalSystemOperationSTROBE =
|
||||
soc->max_avg_dram_bw_use_normal_strobe_percent;
|
||||
|
||||
mode_lib->vba.DRAMClockChangeRequirementFinal = 1;
|
||||
mode_lib->vba.DRAMClockChangeRequirementFinal = soc->dram_clock_change_requirement_final;
|
||||
mode_lib->vba.FCLKChangeRequirementFinal = 1;
|
||||
mode_lib->vba.USRRetrainingRequiredFinal = 1;
|
||||
mode_lib->vba.ConfigurableDETSizeEnFinal = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user