From: Charlene Liu <charlene....@amd.com>

Change-Id: Ic1441516b66b41c6d6f9a40a8fd55bc92dccdb77
Signed-off-by: Charlene Liu <charlene....@amd.com>
Reviewed-by: Dmytro Laktyushkin <dmytro.laktyush...@amd.com>
Acked-by: Harry Wentland <harry.wentl...@amd.com>
---
 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c 
b/drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c
index e8086c09eb6f..626f9cf8aad2 100644
--- a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c
+++ b/drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c
@@ -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;
-- 
2.11.0

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to