From: Tuomas Kulve <tuomas.kulve@movial.fi>
To: linux-omap@vger.kernel.org
Subject: Patch to enable omapfb scaling
Date: Fri, 31 Oct 2008 12:44:48 +0200 [thread overview]
Message-ID: <490AE1A0.70609@movial.fi> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 411 bytes --]
Hi
The attached patch enables omapfb scaling. Tested on omap3 based
beagleboard with 2.6.27-omap1 kernel from linux-omap kernel tree.
The "if" is a leftover from this commit in linux-omap tree:
4139f42ea612e0ff53a4df41428040f777d0422c
Thanks,
--
Tuomas Kulve, Movial Creative Technologies Inc.
Porkkalankatu 13J, FI-00180 Helsinki
Fax +358 9 8567 6401, Tel +358 9 8567 6400
www.movial.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-Removed-old-contradictory-leftover-if-that-prevent.patch --]
[-- Type: text/x-patch; name*0="0001-Removed-old-contradictory-leftover-if-that-prevent.patch", Size: 812 bytes --]
From 886ddb31a1192fc324f1bc092766c918c5fd22fb Mon Sep 17 00:00:00 2001
From: Tuomas Kulve <tuomas.kulve@movial.com>
Date: Wed, 29 Oct 2008 10:54:06 +0200
Subject: [PATCH] Removed old contradictory leftover 'if' that prevents video scaling.
---
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 1e6e035..68bc887 100644
--- a/drivers/video/omap/dispc.c
+++ b/drivers/video/omap/dispc.c
@@ -583,9 +583,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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
next reply other threads:[~2008-10-31 11:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-31 10:44 Tuomas Kulve [this message]
2008-11-03 15:03 ` Patch to enable omapfb scaling Tuomas Kulve
2008-11-26 17:29 ` Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=490AE1A0.70609@movial.fi \
--to=tuomas.kulve@movial.fi \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox