提交 5088cc98 编写于 作者: A Andrew Jiang 提交者: Alex Deucher

drm/amd/display: Force always scale chroma, set always_scaled to false

This allows us to not always have scaling on, which causes issues with
validation and causes the text to blur slightly.
Signed-off-by: NAndrew Jiang <Andrew.Jiang@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 6bf52028
...@@ -159,10 +159,11 @@ bool dpp_get_optimal_number_of_taps( ...@@ -159,10 +159,11 @@ bool dpp_get_optimal_number_of_taps(
scl_data->taps.h_taps = 1; scl_data->taps.h_taps = 1;
if (IDENTITY_RATIO(scl_data->ratios.vert)) if (IDENTITY_RATIO(scl_data->ratios.vert))
scl_data->taps.v_taps = 1; scl_data->taps.v_taps = 1;
if (IDENTITY_RATIO(scl_data->ratios.horz_c)) /*
scl_data->taps.h_taps_c = 1; * Spreadsheet doesn't handle taps_c is one properly,
if (IDENTITY_RATIO(scl_data->ratios.vert_c)) * need to force Chroma to always be scaled to pass
scl_data->taps.v_taps_c = 1; * bandwidth validation.
*/
} }
return true; return true;
......
...@@ -420,10 +420,6 @@ static const struct dc_debug debug_defaults_drv = { ...@@ -420,10 +420,6 @@ static const struct dc_debug debug_defaults_drv = {
.force_abm_enable = false, .force_abm_enable = false,
.timing_trace = false, .timing_trace = false,
.clock_trace = true, .clock_trace = true,
/* spread sheet doesn't handle taps_c is one properly,
* need to enable scaler for video surface to pass
* bandwidth validation.*/
.always_scale = true,
.disable_pplib_clock_request = true, .disable_pplib_clock_request = true,
.disable_pplib_wm_range = false, .disable_pplib_wm_range = false,
#if defined(CONFIG_DRM_AMD_DC_DCN1_0) #if defined(CONFIG_DRM_AMD_DC_DCN1_0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册