[oe-commits] Koen Kooi : linux-omap git: add patch for fix scaling for the overlay

GIT User account git at amethyst.openembedded.net
Thu Oct 30 10:34:22 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 22e85416d9973330854c17e0c53df16b62363b48
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=22e85416d9973330854c17e0c53df16b62363b48

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Oct 30 11:31:41 2008 +0100

linux-omap git: add patch for fix scaling for the overlay

---

 ...solution-check-that-prevents-scaling-when.patch |   26 ++++++++++++++++++++
 packages/linux/linux-omap_git.bb                   |    3 +-
 2 files changed, 28 insertions(+), 1 deletions(-)

diff --git a/packages/linux/linux-omap/0001-Removed-resolution-check-that-prevents-scaling-when.patch b/packages/linux/linux-omap/0001-Removed-resolution-check-that-prevents-scaling-when.patch
new file mode 100644
index 0000000..636203e
--- /dev/null
+++ b/packages/linux/linux-omap/0001-Removed-resolution-check-that-prevents-scaling-when.patch
@@ -0,0 +1,26 @@
+From 3227bd5c412e7eb0d4370b2834e71723f6b4be48 Mon Sep 17 00:00:00 2001
+From: Tuomas Kulve <tuomas.kulve at movial.fi>
+Date: Mon, 27 Oct 2008 18:55:59 +0200
+Subject: [PATCH] Removed resolution check that prevents scaling when output resolution doesn't match the original resolution.
+
+---
+ drivers/video/omap/dispc.c |    3 ---
+ 1 files changed, 0 insertions(+), 3 deletions(-)
+
+diff --git a/drivers/video/omap/dispc.c b/drivers/video/omap/dispc.c
+index 0f0b2e5..1df0c1e 100644
+--- a/drivers/video/omap/dispc.c
++++ b/drivers/video/omap/dispc.c
+@@ -579,9 +579,6 @@ static int omap_dispc_set_scale(int plane,
+ 	if ((unsigned)plane > OMAPFB_PLANE_NUM)
+ 		return -ENODEV;
+ 
+-	if (out_width != orig_width || out_height != orig_height)
+-		return -EINVAL;
+-
+ 	enable_lcd_clocks(1);
+ 	if (orig_width < out_width) {
+ 		/*
+-- 
+1.5.6.5
+
diff --git a/packages/linux/linux-omap_git.bb b/packages/linux/linux-omap_git.bb
index 0f5113d..e7fb608 100644
--- a/packages/linux/linux-omap_git.bb
+++ b/packages/linux/linux-omap_git.bb
@@ -10,7 +10,7 @@ SRCREV = "2a3408be17f287fdb5809c9b6c68e7ad96d25b74"
 
 #PV = "2.6.26+2.6.27-rc7+${PR}+gitr${SRCREV}"
 PV = "2.6.27+${PR}+gitr${SRCREV}"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;protocol=git \
 	   file://defconfig"
@@ -34,6 +34,7 @@ SRC_URI_append = " \
            file://musb-fix-multiple-bulk-transfers.diff;patch=1 \
            file://musb-fix-endpoints.diff;patch=1 \
            file://dvb-fix-dma.diff;patch=1 \
+           file://0001-Removed-resolution-check-that-prevents-scaling-when.patch;patch=1 \
 "
 
 





More information about the Openembedded-commits mailing list