Skip to contentSkip to conversation

Staging trees at V4L/DVB trees

ANOUNCE Mauro Carvalho Chehab 2 participants 6 messages Sep 14, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Probably some of you already noticed that we're creating some staging trees at V4L/DVB trees.

There are currently 2 staging trees:

1) /linux/drivers/staging - With drivers that aren't ready yet for merge, needing help for being finished.

There are currently two drivers there:
go7007 driver - Used on some designs with a Micronas encoder. cx25821 driver - Driver for Conexant cx25821 chips.

The go7007 driver were written a long time ago and requires not only CodingStyle fixes but also porting to some new API's and to V4L2 framework. This driver is already at kernel upstream, under /drivers/staging.

The cx25821 driver is a new driver written this year for some very powerful PCIe chips, capable of up to 10 simultaneous video input/outputs. The driver needs several CodingStyle fixes, and has duplicated code for each input/output.

I intend to add tm6000 driver there later this week, if time permits to port it to the new i2c interface.

The policy to accept new drivers code at staging tree is less rigid than at /drivers/media: the kernel driver for an unsupported hardware shouldn't depend on any userspace library other than libv4l and dvb-apps and the code should compile fine with the latest kernel, and the developer(s) should be working on fixing it for upstream inclusion. Drivers with bugs, CodingStyle errors, deprecated API usage, etc can be accepted. Also, drivers there not maintained for some time can be removed.

2) /staging-specs - This contains the latest V4L and DVB API specs, in DocBook XML 4.1.2. This is the same DocBook version used in kernel.

It basically contains an effort to finally merge the API's at kernel DocBook directory.

Currently, this is _not_ the official API, and the document still needs review and cleanups.

My intention is to add the first tree upstream, under drivers/staging for kernel 2.6.32. As those drivers are new, if we can get them on a good shape during 2.6.32 rc cycle, it could be possible to move them to drivers/media for 2.6.32. All depends on how they'll evolute.

If time is enough and we have the DocBook tree in good shape on the next two weeks, I intend to add it also to 2.6.32.

Feel free to contribute to both trees.

Have Fun!

Cheers,
Mauro

#1 lore raw

Em Sun, 13 Sep 2009 21:08:41 -0300
Mauro Carvalho Chehab <[email protected]> escreveu:

Quoted 2 lines

I intend to add tm6000 driver there later this week, if time permits to port it to the new i2c interface.

Ok, I've send part 1 of the patches I have here for tm6000. It still doesn't compile with kernel 2.6.30 or upper, due to the I2C API changes.

I have still some other patches here pending, that are waiting for some time for testing them. I also intend to fix its compilation during this week.

Quoted 9 lines

The policy to accept new drivers code at staging tree is less rigid than at /drivers/media: the kernel driver for an unsupported hardware shouldn't depend on any userspace library other than libv4l and dvb-apps and the code should compile fine with the latest kernel, and the developer(s) should be working on fixing it for upstream inclusion. Drivers with bugs, CodingStyle errors, deprecated API usage, etc can be accepted. Also, drivers there not maintained for some time can be removed.

From some breakage reports with go7007 with some kernels and due to tm6000,

I've added an option at Kconfig: STAGING_BROKEN, to indicate the drivers that are known to not compile against the latest kernel. However, there's a bad effect with this: those broken patches can't be updated upstream, otherwise they'll break upstream compilations. So, while we might eventually accept a broken driver at staging, a fix for it should be done quickly, to avoid causing upstream merging issues

Cheers,
Mauro

#2 lore raw
In reply to Mauro Carvalho Chehab
Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Mauro Carvalho Chehab
Sent: Monday, September 14, 2009 5:39 AM
To: [email protected]
Subject: [ANOUNCE] Staging trees at V4L/DVB trees

Probably some of you already noticed that we're creating some staging trees at
V4L/DVB trees.

Quoted 6 lines

There are currently 2 staging trees:

1) /linux/drivers/staging - With drivers that aren't ready yet for merge, needing
help for being finished.

[Hiremath, Vaibhav] Hi Mauro,

As you know I am also working on OMAP3 V4L2 display driver and posted initial patches (Posted by myself and Hardik Shah) to the community which went through couple of review cycles. Since it was having dependency on DSS2 library being developed by and at Nokia (Tomi) we decided to wait for it to be accepted.

Now DSS2 has already being submitted to the community and will make his way to mainline soon.

Do you want me to submit the OMAP3 DSS driver for staging tree, this would be really good candidate for this. I will make sure that it stays updated and tested till DSS2 gets accepted.

Please let me know your inputs, if you feel it should be done then I will submit patch tomorrow as soon as I get into office.

Thanks,
Vaibhav

Quoted 69 lines

There are currently two drivers there:
go7007 driver - Used on some designs with a Micronas encoder. cx25821 driver - Driver for Conexant cx25821 chips.

The go7007 driver were written a long time ago and requires not only CodingStyle fixes but also porting to some new API's and to V4L2 framework.
This driver is already at kernel upstream, under /drivers/staging.

The cx25821 driver is a new driver written this year for some very powerful
PCIe chips, capable of up to 10 simultaneous video input/outputs. The driver
needs several CodingStyle fixes, and has duplicated code for each input/output.

I intend to add tm6000 driver there later this week, if time permits to port it
to the new i2c interface.

The policy to accept new drivers code at staging tree is less rigid than
at /drivers/media: the kernel driver for an unsupported hardware shouldn't
depend on any userspace library other than libv4l and dvb-apps and the code
should compile fine with the latest kernel, and the developer(s) should be
working on fixing it for upstream inclusion. Drivers with bugs, CodingStyle
errors, deprecated API usage, etc can be accepted. Also, drivers there not
maintained for some time can be removed.

2) /staging-specs - This contains the latest V4L and DVB API specs, in DocBook
XML 4.1.2. This is the same DocBook version used in kernel.

It basically contains an effort to finally merge the API's at kernel DocBook
directory.

Currently, this is _not_ the official API, and the document still needs review
and cleanups.

My intention is to add the first tree upstream, under drivers/staging for
kernel 2.6.32. As those drivers are new, if we can get them on a good shape
during 2.6.32 rc cycle, it could be possible to move them to drivers/media for
2.6.32. All depends on how they'll evolute.

If time is enough and we have the DocBook tree in good shape on the next two
weeks, I intend to add it also to 2.6.32.

Feel free to contribute to both trees.

Have Fun!

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux- media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

Em Mon, 14 Sep 2009 22:51:44 +0530
"Hiremath, Vaibhav" <[email protected]> escreveu:

Quoted 19 lines
Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Mauro Carvalho Chehab
Sent: Monday, September 14, 2009 5:39 AM
To: [email protected]
Subject: [ANOUNCE] Staging trees at V4L/DVB trees

Probably some of you already noticed that we're creating some staging trees at
V4L/DVB trees.

Quoted 6 lines

There are currently 2 staging trees:

1) /linux/drivers/staging - With drivers that aren't ready yet for merge, needing
help for being finished.

[Hiremath, Vaibhav] Hi Mauro,

Quoted 7 lines

As you know I am also working on OMAP3 V4L2 display driver and posted initial patches (Posted by myself and Hardik Shah) to the community which went through couple of review cycles. Since it was having dependency on DSS2 library being developed by and at Nokia (Tomi) we decided to wait for it to be accepted.

Now DSS2 has already being submitted to the community and will make his way to mainline soon.

Do you want me to submit the OMAP3 DSS driver for staging tree, this would be really good candidate for this. I will make sure that it stays updated and tested till DSS2 gets accepted.

Please let me know your inputs, if you feel it should be done then I will submit patch tomorrow as soon as I get into office.

Hmm... if it has dependency with another tree, this may be a problem since my intention is to merge the three drivers we have currently at kernel drivers/staging (in fact two of them, since go7007 is already there), but, if they compile fine, even without DSS2 library (is it a kernel library?), then, that's fine for staging.

Cheers,
Mauro

#4 lore raw
Quoted 46 lines

-----Original Message-----
From: Mauro Carvalho Chehab [mailto:[email protected]]
Sent: Monday, September 14, 2009 11:42 PM
To: Hiremath, Vaibhav
Cc: [email protected]
Subject: Re: [ANOUNCE] Staging trees at V4L/DVB trees

Em Mon, 14 Sep 2009 22:51:44 +0530
"Hiremath, Vaibhav" <[email protected]> escreveu:

Quoted 7 lines
Quoted 7 lines

-----Original Message-----
From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Mauro Carvalho Chehab
Sent: Monday, September 14, 2009 5:39 AM
To: [email protected]
Subject: [ANOUNCE] Staging trees at V4L/DVB trees

Quoted 7 lines
Quoted 7 lines

Probably some of you already noticed that we're creating some staging trees at
V4L/DVB trees.

There are currently 2 staging trees:

1) /linux/drivers/staging - With drivers that aren't ready yet

for

Quoted 6 lines
Quoted 3 lines

merge, needing
help for being finished.

[Hiremath, Vaibhav] Hi Mauro,

As you know I am also working on OMAP3 V4L2 display driver and

posted initial patches (Posted by myself and Hardik Shah) to the community which went through couple of review cycles. Since it was having dependency on DSS2 library being developed by and at Nokia (Tomi) we decided to wait for it to be accepted.

Quoted 2 lines

Now DSS2 has already being submitted to the community and will

make his way to mainline soon.

Quoted 2 lines

Do you want me to submit the OMAP3 DSS driver for staging tree,

this would be really good candidate for this. I will make sure that it stays updated and tested till DSS2 gets accepted.

Quoted 2 lines

Please let me know your inputs, if you feel it should be done then

I will submit patch tomorrow as soon as I get into office.

Quoted 10 lines

Hmm... if it has dependency with another tree, this may be a problem since my
intention is to merge the three drivers we have currently at kernel drivers/staging (in fact two of them, since go7007 is already there), but, if
they compile fine, even without DSS2 library (is it a kernel library?), then,
that's fine for staging.

[Hiremath, Vaibhav] Yes, this is kernel level library which sits underneath driver, V4L2 and Fbdev and provides seamless DSS hardware access to above drivers. They won't compile without it.

V4L2 Fbdev
| |
----------------------------------
| |
DSS2 VRFB
| |
OMAP3 DSS HW VRFB HW engine

But should it be ok if I put dependency in Kconfig itself? The file won't get compiled. I understand we won't gain anything with this, this is just another tree to hold, and this is one of the main reason I stopped pushing this patch. The patch is submit worthy and cater most of the requirements, but due to some dependencies it has blocked till now.

Thanks,
Vaibhav

Quoted 3 lines

Cheers,
Mauro

#5 lore raw

Em Mon, 14 Sep 2009 23:58:33 +0530
"Hiremath, Vaibhav" <[email protected]> escreveu:

Quoted 66 lines
Quoted 46 lines

-----Original Message-----
From: Mauro Carvalho Chehab [mailto:[email protected]]
Sent: Monday, September 14, 2009 11:42 PM
To: Hiremath, Vaibhav
Cc: [email protected]
Subject: Re: [ANOUNCE] Staging trees at V4L/DVB trees

Em Mon, 14 Sep 2009 22:51:44 +0530
"Hiremath, Vaibhav" <[email protected]> escreveu:

Quoted 7 lines
Quoted 7 lines

-----Original Message-----
From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Mauro Carvalho Chehab
Sent: Monday, September 14, 2009 5:39 AM
To: [email protected]
Subject: [ANOUNCE] Staging trees at V4L/DVB trees

Quoted 7 lines
Quoted 7 lines

Probably some of you already noticed that we're creating some staging trees at
V4L/DVB trees.

There are currently 2 staging trees:

1) /linux/drivers/staging - With drivers that aren't ready yet

for

Quoted 6 lines
Quoted 3 lines

merge, needing
help for being finished.

[Hiremath, Vaibhav] Hi Mauro,

As you know I am also working on OMAP3 V4L2 display driver and

posted initial patches (Posted by myself and Hardik Shah) to the community which went through couple of review cycles. Since it was having dependency on DSS2 library being developed by and at Nokia (Tomi) we decided to wait for it to be accepted.

Quoted 2 lines

Now DSS2 has already being submitted to the community and will

make his way to mainline soon.

Quoted 2 lines

Do you want me to submit the OMAP3 DSS driver for staging tree,

this would be really good candidate for this. I will make sure that it stays updated and tested till DSS2 gets accepted.

Quoted 2 lines

Please let me know your inputs, if you feel it should be done then

I will submit patch tomorrow as soon as I get into office.

Quoted 10 lines

Hmm... if it has dependency with another tree, this may be a problem since my
intention is to merge the three drivers we have currently at kernel drivers/staging (in fact two of them, since go7007 is already there), but, if
they compile fine, even without DSS2 library (is it a kernel library?), then,
that's fine for staging.

[Hiremath, Vaibhav] Yes, this is kernel level library which sits underneath driver, V4L2 and Fbdev and provides seamless DSS hardware access to above drivers. They won't compile without it.

V4L2 Fbdev
| |
----------------------------------
| |
DSS2 VRFB
| |
OMAP3 DSS HW VRFB HW engine

Quoted 2 lines

But should it be ok if I put dependency in Kconfig itself? The file won't get compiled. I understand we won't gain anything with this, this is just another tree to hold, and this is one of the main reason I stopped pushing this patch. The patch is submit worthy and cater most of the requirements, but due to some dependencies it has blocked till now.

Well, what would be the gain on having it there upstream without being capable of compiling? I would prefer if you add it at some -hg tree and ask me to pull after having the DSS2 library at upstream or at linux-next.

Cheers,
Mauro