drm/amd/display: fix PHYCLK in formula.
authorCharlene Liu <charlene.liu@amd.com>
Mon, 31 Jul 2017 21:27:52 +0000 (17:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:16:13 +0000 (18:16 -0400)
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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/calcs/dcn_calc_auto.c

index e8086c0..626f9cf 100644 (file)
@@ -277,7 +277,7 @@ void mode_support_and_system_configuration(struct dcn_bw_internal_vars *v)
                        default:
                                break;
                        }
-                       v->required_phyclk[k] = v->required_output_bw / 3.0;
+                       v->required_phyclk[k] = v->required_phyclk[k] / 3.0;
                }
                else if (v->output[k] == dcn_bw_dp) {
                        v->required_phyclk[k] = v->required_output_bw / 4.0;