drm/amd/display: Force always scale chroma, set always_scaled to false
authorAndrew Jiang <Andrew.Jiang@amd.com>
Wed, 6 Sep 2017 22:56:46 +0000 (18:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 21 Oct 2017 20:40:00 +0000 (16:40 -0400)
This allows us to not always have scaling on, which causes issues with
validation and causes the text to blur slightly.

Signed-off-by: Andrew Jiang <Andrew.Jiang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c

index 9d9604f05095003ed74bbb1658b61985fa9c3f88..f9e43e68fc0c97e72e129f98e59054fde46907ab 100644 (file)
@@ -159,10 +159,11 @@ bool dpp_get_optimal_number_of_taps(
                        scl_data->taps.h_taps = 1;
                if (IDENTITY_RATIO(scl_data->ratios.vert))
                        scl_data->taps.v_taps = 1;
-               if (IDENTITY_RATIO(scl_data->ratios.horz_c))
-                       scl_data->taps.h_taps_c = 1;
-               if (IDENTITY_RATIO(scl_data->ratios.vert_c))
-                       scl_data->taps.v_taps_c = 1;
+               /*
+                * Spreadsheet doesn't handle taps_c is one properly,
+                * need to force Chroma to always be scaled to pass
+                * bandwidth validation.
+                */
        }
 
        return true;
index dc878f77837befa2bcb2913ffef96f4705748634..4f124dc303dce12cf9dc406068a0c2a9b98b8512 100644 (file)
@@ -420,10 +420,6 @@ static const struct dc_debug debug_defaults_drv = {
                .force_abm_enable = false,
                .timing_trace = false,
                .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_wm_range = false,
 #if defined(CONFIG_DRM_AMD_DC_DCN1_0)