Commit 75e77fb7 authored by Rodrigo Siqueira's avatar Rodrigo Siqueira Committed by Alex Deucher

drm/amd/display: Remove legacy code

[Why & How]
Remove legacy code which is unnecessary.
Acked-by: default avatarWayne Lin <wayne.lin@amd.com>
Signed-off-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 119badce
...@@ -929,24 +929,6 @@ static const struct dc_debug_options debug_defaults_drv = { ...@@ -929,24 +929,6 @@ static const struct dc_debug_options debug_defaults_drv = {
.using_dml2 = false, .using_dml2 = false,
}; };
static const struct dc_debug_options debug_defaults_diags = {
.disable_dmcu = true,
.force_abm_enable = false,
.timing_trace = true,
.clock_trace = true,
.disable_dpp_power_gate = true,
.disable_hubp_power_gate = true,
.disable_clock_gate = true,
.disable_pplib_clock_request = true,
.disable_pplib_wm_range = true,
.disable_stutter = false,
.scl_reset_length10 = true,
.dwb_fi_phase = -1, // -1 = disable
.dmub_command_table = true,
.enable_tri_buf = true,
.use_max_lb = true
};
static const struct dc_panel_config panel_config_defaults = { static const struct dc_panel_config panel_config_defaults = {
.psr = { .psr = {
.disable_psr = false, .disable_psr = false,
...@@ -1939,8 +1921,6 @@ static bool dcn314_resource_construct( ...@@ -1939,8 +1921,6 @@ static bool dcn314_resource_construct(
if (dc->ctx->dce_environment == DCE_ENV_PRODUCTION_DRV) if (dc->ctx->dce_environment == DCE_ENV_PRODUCTION_DRV)
dc->debug = debug_defaults_drv; dc->debug = debug_defaults_drv;
else
dc->debug = debug_defaults_diags;
/* Disable pipe power gating */ /* Disable pipe power gating */
dc->debug.disable_dpp_power_gate = true; dc->debug.disable_dpp_power_gate = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment