Skip to contentSkip to conversation

omap24xx vout and dispc library

PATCH In review Komal Shah 1 participant 2 messages Dec 15, 2005

lore
Share & tools
lore

Komal Shah

author
#0 lore raw

PATCH 1/1 omap24xx vout and dispc library

Imre/Tony,

I have attached the patch (compressed .gz) which includes (done by Jian and the team...)

o display functions library [display.[ch]].
- Location: arch/arm/mach-omap2/display.c
- common omap2 dispc exported functions can then be used by fb, vout
and camera preview code.

o V4L2 based Video out patch. [omap24xxvout.[ch]]
o This framework implements
o Dynamic use of video planes
e.g As per the 2.6.9-TI code,
in camera driver V1 was fixed for preview.

Now for camera preview _or_ video out on (LCD/TV) can dynamically take the plane which is free.
o video plane linking [Jian can explain on this...]
o and rotation/mirroring/colorkey...etc.

o omap24xxlib.[ch]
- It includes functions common between camera preview and vout. (cropping/scaling)

Attached patch works with 2.6.9-TI omap24xxfb (considering that it uses the display.[ch] library) driver.

I am *not* able to successfully test this driver along with git-omap2-fb driver. See I have disabled request_irq, dispc reset/initialisation in the omap2_disp_init(dispc.c) patch.

But as git-omap2-fb driver is checking FIFO_UNDERFLOW/SYNC_LOST interrupts, which I am getting more than five times, which ultimately disables the display irq (irq_status 0x4000, 0x40a2, 0x4002....), and my test-application(e.g streaming yuv on v1) hangs the system after that...

So, could you please have look at the patch, so that we can find better way to integrate vout and display controller library functions into the git tree. Thanx.

---Komal Shah
http://komalshah.blogspot.com/

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

author
#1 lore raw

It seems that, list is removing .gz files. So I am renaming it from vout-list.patch.gz to vout-list.patch (which is still .gz). Hope that it arrives this time (size 41k).

Quoted 41 lines · --- Komal Shah

Imre/Tony,

I have attached the patch (compressed .gz) which includes (done by Jian
and the team...)

o display functions library [display.[ch]].
- Location: arch/arm/mach-omap2/display.c
- common omap2 dispc exported functions can then be used by fb,
vout
and camera preview code.

o V4L2 based Video out patch. [omap24xxvout.[ch]]
o This framework implements
o Dynamic use of video planes
e.g As per the 2.6.9-TI code,
in camera driver V1 was fixed for preview.

Now for camera preview _or_ video out on (LCD/TV) can dynamically take the plane which is free.
o video plane linking [Jian can explain on this...]
o and rotation/mirroring/colorkey...etc.

o omap24xxlib.[ch]
- It includes functions common between camera preview and vout. (cropping/scaling)

Attached patch works with 2.6.9-TI omap24xxfb (considering that it uses
the display.[ch] library) driver.

I am *not* able to successfully test this driver along with git-omap2-fb driver. See I have disabled request_irq, dispc reset/initialisation in the omap2_disp_init(dispc.c) patch.

But as git-omap2-fb driver is checking FIFO_UNDERFLOW/SYNC_LOST interrupts, which I am getting more than five times, which ultimately disables the display irq (irq_status 0x4000, 0x40a2, 0x4002....), and my test-application(e.g streaming yuv on v1) hangs the system after that...

Quoted 8 lines

So, could you please have look at the patch, so that we can find better
way to integrate vout and display controller library functions into the
git tree. Thanx.

---Komal Shah
http://komalshah.blogspot.com/

---Komal Shah
http://komalshah.blogspot.com/

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com