Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: drivers/video/tegra/dc/dc.c

Issue 6626025: CHROMIUM: video: tegra: Run pll_d at 252mhz for HDMI 640x480 (Closed)
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: drivers/video/tegra/dc/dc.c
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c
index 18d211ac7e0617c5f48ecd7a5faf7b9f97542d61..a9ad8ed9574dcaa36aef035a1b9e8c260e550baf 100644
--- a/drivers/video/tegra/dc/dc.c
+++ b/drivers/video/tegra/dc/dc.c
@@ -707,8 +707,10 @@ void tegra_dc_setup_clk(struct tegra_dc *dc, struct clk *clk)
if (dc->mode.pclk > 70000000)
rate = 594000000;
- else
+ else if (dc->mode.pclk >= 27000000)
rate = 216000000;
+ else
+ rate = 252000000;
if (rate != clk_get_rate(pll_d_clk))
clk_set_rate(pll_d_clk, rate);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698