drm/amd/display: Set the DML2 attribute to false in all DCNs older than version 3.5
When DML2 was introduced, it targeted only new DCN versions. For controlling which ASIC should use this new version of DML, it was introduced the using_dml2 attribute. To avoid ambiguities, this commit explicitly sets using_dml2 to false in all ASICs that do not support DML2. Cc: Vitaly Prosyak <vprosyak@amd.com> Cc: Roman Li <roman.li@amd.com> Cc: Qingqing Zhuo <Qingqing.Zhuo@amd.com> Cc: Daniel Wheeler <daniel.wheeler@amd.com> Cc: Alex Deucher <Alexander.Deucher@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d8da213478
commit
79de4d9ade
@ -554,6 +554,7 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
.max_downscale_src_width = 3840,
|
||||
.underflow_assert_delay_us = 0xFFFFFFFF,
|
||||
.enable_legacy_fast_update = true,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
static const struct dc_debug_options debug_defaults_diags = {
|
||||
|
@ -723,6 +723,7 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
.sanity_checks = false,
|
||||
.underflow_assert_delay_us = 0xFFFFFFFF,
|
||||
.enable_legacy_fast_update = true,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
void dcn20_dpp_destroy(struct dpp **dpp)
|
||||
|
@ -614,6 +614,7 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
.underflow_assert_delay_us = 0xFFFFFFFF,
|
||||
.enable_tri_buf = false,
|
||||
.enable_legacy_fast_update = true,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
static void dcn201_dpp_destroy(struct dpp **dpp)
|
||||
|
@ -654,6 +654,7 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
.dmub_command_table = true,
|
||||
.use_max_lb = true,
|
||||
.enable_legacy_fast_update = true,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
static const struct dc_panel_config panel_config_defaults = {
|
||||
|
@ -729,6 +729,7 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
.use_max_lb = true,
|
||||
.exit_idle_opt_for_cursor_updates = true,
|
||||
.enable_legacy_fast_update = false,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
static const struct dc_panel_config panel_config_defaults = {
|
||||
|
@ -701,7 +701,8 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
.dwb_fi_phase = -1, // -1 = disable
|
||||
.dmub_command_table = true,
|
||||
.use_max_lb = false,
|
||||
.exit_idle_opt_for_cursor_updates = true
|
||||
.exit_idle_opt_for_cursor_updates = true,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
static void dcn301_dpp_destroy(struct dpp **dpp)
|
||||
|
@ -99,6 +99,7 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
.use_max_lb = true,
|
||||
.exit_idle_opt_for_cursor_updates = true,
|
||||
.enable_legacy_fast_update = false,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
static const struct dc_panel_config panel_config_defaults = {
|
||||
|
@ -81,6 +81,7 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
.dmub_command_table = true,
|
||||
.exit_idle_opt_for_cursor_updates = true,
|
||||
.disable_idle_power_optimizations = false,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
static const struct dc_panel_config panel_config_defaults = {
|
||||
|
@ -893,6 +893,7 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
.enable_legacy_fast_update = true,
|
||||
.enable_z9_disable_interface = true, /* Allow support for the PMFW interface for disable Z9*/
|
||||
.dml_hostvm_override = DML_HOSTVM_OVERRIDE_FALSE,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
static const struct dc_panel_config panel_config_defaults = {
|
||||
|
@ -924,7 +924,8 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
}
|
||||
},
|
||||
|
||||
.seamless_boot_odm_combine = true
|
||||
.seamless_boot_odm_combine = true,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
static const struct dc_debug_options debug_defaults_diags = {
|
||||
|
@ -889,6 +889,7 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
},
|
||||
.enable_legacy_fast_update = true,
|
||||
.psr_power_use_phy_fsm = 0,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
static const struct dc_panel_config panel_config_defaults = {
|
||||
|
@ -885,6 +885,7 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
}
|
||||
},
|
||||
.enable_legacy_fast_update = true,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
static const struct dc_panel_config panel_config_defaults = {
|
||||
|
@ -732,6 +732,7 @@ static const struct dc_debug_options debug_defaults_drv = {
|
||||
.fpo_vactive_max_blank_us = 1000,
|
||||
.enable_legacy_fast_update = false,
|
||||
.disable_dc_mode_overwrite = true,
|
||||
.using_dml2 = false,
|
||||
};
|
||||
|
||||
static struct dce_aux *dcn321_aux_engine_create(
|
||||
|
Loading…
x
Reference in New Issue
Block a user