Files
poky/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/04-use-pcd.diff
Richard Purdie 29d6678fd5 Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.

The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.

Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-27 15:29:45 +01:00

29 lines
897 B
Diff

From: Mans Rullgard <mans@mansr.com>
Date: Sun, 6 Jul 2008 13:22:54 +0000 (+0100)
Subject: omapfb: use PCD if set in panel config
X-Git-Tag: beagle-5
X-Git-Url: http://git.mansr.com/?p=linux-omap;a=commitdiff_plain;h=c8060d36ae156771f00a7a27cabf1b4435c378bd
omapfb: use PCD if set in panel config
---
diff --git a/drivers/video/omap/dispc.c b/drivers/video/omap/dispc.c
index 3b36227..4e1a8e3 100644
--- a/drivers/video/omap/dispc.c
+++ b/drivers/video/omap/dispc.c
@@ -798,7 +798,13 @@ static void set_lcd_timings(void)
l |= panel->acb & 0xff;
dispc_write_reg(DISPC_POL_FREQ, l);
- calc_ck_div(is_tft, panel->pixel_clock * 1000, &lck_div, &pck_div);
+ if (panel->pcd) {
+ pck_div = panel->pcd;
+ lck_div = 1;
+ } else {
+ calc_ck_div(is_tft, panel->pixel_clock * 1000,
+ &lck_div, &pck_div);
+ }
l = dispc_read_reg(DISPC_DIVISOR);
l &= ~(FLD_MASK(16, 8) | FLD_MASK(0, 8));