[PATCH 095/120] drm/amd/display: fix PHYCLK in formula.
Harry Wentland
harry.wentland at amd.com
Wed Aug 9 15:02:21 UTC 2017
From: Charlene Liu <charlene.liu at amd.com>
Change-Id: Ic1441516b66b41c6d6f9a40a8fd55bc92dccdb77
Signed-off-by: Charlene Liu <charlene.liu at amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at 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
More information about the amd-gfx
mailing list