drm/amd/display: Enable ODM combine default policy

[Why&How]
Output Data Mapping is a power saving feature that allows us to run at
reduced DPP and DISP clocks compared to what could be achieved with a
single pipe.

Set the default policy for single display use case to use 2 to 1 ODM combine.
The options are queried by DC and appropriate register programming sequence
is initiated to enable this feature.

Fixes: 235c676342 ("drm/amd/display: add DCN32/321 specific files for Display Core")
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Aurabindo Pillai 2022-07-07 14:28:03 -04:00 committed by Alex Deucher
parent 5531786537
commit 9a23fcf79d
2 changed files with 6 additions and 2 deletions

View file

@ -997,7 +997,9 @@ static const struct dc_debug_options debug_defaults_drv = {
}
},
.use_max_lb = true,
.force_disable_subvp = true
.force_disable_subvp = true,
.enable_single_display_2to1_odm_policy = true,
.enable_dp_dig_pixel_rate_div_policy = 1,
};
static const struct dc_debug_options debug_defaults_diags = {

View file

@ -994,7 +994,9 @@ static const struct dc_debug_options debug_defaults_drv = {
}
},
.use_max_lb = true,
.force_disable_subvp = true
.force_disable_subvp = true,
.enable_single_display_2to1_odm_policy = true,
.enable_dp_dig_pixel_rate_div_policy = 1,
};
static const struct dc_debug_options debug_defaults_diags = {