mirror of
https://git.yoctoproject.org/poky
synced 2026-03-02 05:19:40 +01:00
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>
32 lines
936 B
Diff
32 lines
936 B
Diff
From: Mans Rullgard <mans@mansr.com>
|
|
Date: Mon, 7 Jul 2008 23:59:08 +0000 (+0100)
|
|
Subject: omapfb: ensure fck/lcd < 173MHz
|
|
X-Git-Url: http://git.mansr.com/?p=linux-omap;a=commitdiff_plain;h=0523ece1bad659c48c66aea364d83f7490e7e5ae
|
|
|
|
omapfb: ensure fck/lcd < 173MHz
|
|
---
|
|
|
|
diff --git a/drivers/video/omap/dispc.c b/drivers/video/omap/dispc.c
|
|
index c17371c..85d6cad 100644
|
|
--- a/drivers/video/omap/dispc.c
|
|
+++ b/drivers/video/omap/dispc.c
|
|
@@ -738,14 +738,16 @@ static void setup_color_conv_coef(void)
|
|
MOD_REG_FLD(at2_reg, (1 << 11), ct->full_range);
|
|
}
|
|
|
|
+#define MAX_FCK_LCD 173000000
|
|
+
|
|
static void calc_ck_div(int is_tft, int pck, int *lck_div, int *pck_div)
|
|
{
|
|
unsigned long fck, lck;
|
|
|
|
- *lck_div = 1;
|
|
pck = max(1, pck);
|
|
fck = clk_get_rate(dispc.dss1_fck);
|
|
- lck = fck;
|
|
+ *lck_div = (fck + MAX_FCK_LCD - 1) / MAX_FCK_LCD;
|
|
+ lck = fck / *lck_div;
|
|
*pck_div = (lck + pck - 1) / pck;
|
|
if (is_tft)
|
|
*pck_div = max(2, *pck_div);
|