mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-25 15:24:17 +08:00
drm/amd/display: Add DML variable for future asics
Signed-off-by: Joshua Aberback <joshua.aberback@amd.com> Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d3b18f8c6f
commit
38a509d5d2
@ -121,6 +121,7 @@ struct _vcs_dpi_soc_bounding_box_st {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct _vcs_dpi_ip_params_st {
|
struct _vcs_dpi_ip_params_st {
|
||||||
|
bool use_min_dcfclk;
|
||||||
bool gpuvm_enable;
|
bool gpuvm_enable;
|
||||||
bool hostvm_enable;
|
bool hostvm_enable;
|
||||||
unsigned int gpuvm_max_page_table_levels;
|
unsigned int gpuvm_max_page_table_levels;
|
||||||
|
@ -280,6 +280,7 @@ static void fetch_ip_params(struct display_mode_lib *mode_lib)
|
|||||||
ip_params_st *ip = &mode_lib->vba.ip;
|
ip_params_st *ip = &mode_lib->vba.ip;
|
||||||
|
|
||||||
// IP Parameters
|
// IP Parameters
|
||||||
|
mode_lib->vba.UseMinimumRequiredDCFCLK = ip->use_min_dcfclk;
|
||||||
mode_lib->vba.MaxNumDPP = ip->max_num_dpp;
|
mode_lib->vba.MaxNumDPP = ip->max_num_dpp;
|
||||||
mode_lib->vba.MaxNumOTG = ip->max_num_otg;
|
mode_lib->vba.MaxNumOTG = ip->max_num_otg;
|
||||||
mode_lib->vba.MaxNumHDMIFRLOutputs = ip->max_num_hdmi_frl_outputs;
|
mode_lib->vba.MaxNumHDMIFRLOutputs = ip->max_num_hdmi_frl_outputs;
|
||||||
|
@ -898,6 +898,7 @@ struct vba_vars_st {
|
|||||||
bool dummystring[DC__NUM_DPP__MAX];
|
bool dummystring[DC__NUM_DPP__MAX];
|
||||||
double BPP;
|
double BPP;
|
||||||
enum odm_combine_policy ODMCombinePolicy;
|
enum odm_combine_policy ODMCombinePolicy;
|
||||||
|
bool UseMinimumRequiredDCFCLK;
|
||||||
};
|
};
|
||||||
|
|
||||||
bool CalculateMinAndMaxPrefetchMode(
|
bool CalculateMinAndMaxPrefetchMode(
|
||||||
|
Loading…
Reference in New Issue
Block a user