Commit 9a23fcf7 authored by Aurabindo Pillai's avatar Aurabindo Pillai Committed by Alex Deucher

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: 235c6763 ("drm/amd/display: add DCN32/321 specific files for Display Core")
Signed-off-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 55317865
...@@ -997,7 +997,9 @@ static const struct dc_debug_options debug_defaults_drv = { ...@@ -997,7 +997,9 @@ static const struct dc_debug_options debug_defaults_drv = {
} }
}, },
.use_max_lb = true, .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 = { static const struct dc_debug_options debug_defaults_diags = {
......
...@@ -994,7 +994,9 @@ static const struct dc_debug_options debug_defaults_drv = { ...@@ -994,7 +994,9 @@ static const struct dc_debug_options debug_defaults_drv = {
} }
}, },
.use_max_lb = true, .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 = { static const struct dc_debug_options debug_defaults_diags = {
......
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