public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Hello Tomi Valkeinen, I have some questions about dss2 driver.
@ 2009-03-11  4:57 InKi Dae
  2009-03-11  5:10 ` Shah, Hardik
  2009-03-11  7:47 ` Tomi Valkeinen
  0 siblings, 2 replies; 12+ messages in thread
From: InKi Dae @ 2009-03-11  4:57 UTC (permalink / raw)
  To: Tomi Valkeinen; +Cc: linux-omap

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?
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?
I need your help and advice.

Thank you.
- InKi-

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-04-16 10:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox