From: Tomi Valkeinen <tomi.valkeinen@nokia.com>
To: ext InKi Dae <daeinki@gmail.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: Hello Tomi Valkeinen, I have some questions about dss2 driver.
Date: Wed, 11 Mar 2009 09:47:21 +0200 [thread overview]
Message-ID: <1236757641.12797.16.camel@tubuntu> (raw)
In-Reply-To: <90b950fc0903102157q21dec037m65edee4afe104d6a@mail.gmail.com>
Hi,
On Wed, 2009-03-11 at 05:57 +0100, ext InKi Dae wrote:
> I am using your dss2 driver downloaded from your git server and tried
> to rotate an image(RGB24U and YUV2 format) using OMAPFB_ROT_DMA
> command.
> but I can't see rotated image on screen. I added variables for
> rotating like below. as the result, LCD Panel is stoped.
>
> omapfb.rotate=2
> omapfb.vrfb=n
>
>
> and then I tried again using OMAPFB_ROT_VRFB command like below.
>
> omapfb.rotate=2
> omapfb.vrfb=y
>
> In this case, I can see rotated image(only RGB24U format) on screen.
> You asid "Rotation and mirroring currently only supports RGB565 and
> RGB8888 modes. VRFB does not support mirroring" through
> /Documentation/arm/OMAP/DSS file.
>
> Doesn't your dss2 driver support DMA rotation?
It does. However, you should use DMA rotation only with OMAP2 when the
framebuffer is in SRAM. It seems to work somewhat on OMAP3 and SDRAM,
but I've noticed it doesn't always work. I don't know if lowering pixel
clock, increasing dss fck or fiddling with fifo sizes could affect it.
> I am trying to add rotation feature for YUV2 image using VRFB to your
> dss2 driver.
>
> for this, I think that it have to change rot and mirror become 0 if
> rotation_type is OMAPFB_ROT_VRFB to be rot=ofbi->rotation and mirror =
> ofbi->mirror (in omapfb-main.c file) and
> add codes for calculating offset0, offset1, pixel increment and row
> increment value for YUV2 format also pixel size becomes 4 in YUV2 case
> (in dispc.c fild).
> omap_vrfb_setup function must be modifed also (in vrfb.c file)?
>
> Do you have any idea?
No, I haven't really looked at YUV rotations.
Tomi
> I need your help and advice.
>
> Thank you.
> - InKi-
next prev parent reply other threads:[~2009-03-11 7:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 4:57 Hello Tomi Valkeinen, I have some questions about dss2 driver InKi Dae
2009-03-11 5:10 ` Shah, Hardik
2009-03-11 7:47 ` Tomi Valkeinen [this message]
2009-04-07 4:30 ` YUV rotation support for DSS2 - 2.6.29 [WAS Re: Hello Tomi Valkeinen, I have some questions about dss2 driver.] Gregoire Gentil
2009-04-07 4:41 ` Shah, Hardik
2009-04-07 19:00 ` Tim Yamin
2009-04-13 12:05 ` Shah, Hardik
2009-04-13 21:00 ` Tim Yamin
2009-04-15 9:35 ` Shah, Hardik
2009-04-16 10:06 ` Tomi Valkeinen
2009-04-15 10:07 ` Shah, Hardik
2009-04-15 19:16 ` Tim Yamin
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=1236757641.12797.16.camel@tubuntu \
--to=tomi.valkeinen@nokia.com \
--cc=daeinki@gmail.com \
--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