Re: [RFC] remove DRM IRQ installation funcs

2008-08-27 Thread Thomas Hellström
Jesse Barnes wrote: On Tuesday, August 26, 2008 12:23 pm Thomas Hellström wrote: Jesse Barnes wrote: The DRM design includes ioctls to allow a userland driver to tell the kernel driver when to register its interrupt handler and on what IRQ. This is a really bad idea for several

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Stephane Marchesin
On Tue, Aug 26, 2008 at 8:57 PM, Jesse Barnes [EMAIL PROTECTED] wrote: The DRM design includes ioctls to allow a userland driver to tell the kernel driver when to register its interrupt handler and on what IRQ. This is a really bad idea for several reasons, and fortunately I don't think any

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Thomas Hellström
Jesse Barnes wrote: The DRM design includes ioctls to allow a userland driver to tell the kernel driver when to register its interrupt handler and on what IRQ. This is a really bad idea for several reasons, and fortunately I don't think any DDX drivers take advantage of the no, use this

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Jesse Barnes
On Tuesday, August 26, 2008 12:03 pm Stephane Marchesin wrote: On Tue, Aug 26, 2008 at 8:57 PM, Jesse Barnes [EMAIL PROTECTED] wrote: The DRM design includes ioctls to allow a userland driver to tell the kernel driver when to register its interrupt handler and on what IRQ. This is a

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Jesse Barnes
On Tuesday, August 26, 2008 12:23 pm Thomas Hellström wrote: Jesse Barnes wrote: The DRM design includes ioctls to allow a userland driver to tell the kernel driver when to register its interrupt handler and on what IRQ. This is a really bad idea for several reasons, and fortunately I

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Stephane Marchesin
On Tue, Aug 26, 2008 at 9:36 PM, Jesse Barnes [EMAIL PROTECTED] wrote: On Tuesday, August 26, 2008 12:03 pm Stephane Marchesin wrote: On Tue, Aug 26, 2008 at 8:57 PM, Jesse Barnes [EMAIL PROTECTED] wrote: The DRM design includes ioctls to allow a userland driver to tell the kernel driver

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Jesse Barnes
On Tuesday, August 26, 2008 1:03 pm Stephane Marchesin wrote: As for the new development model... Things are actually worse than I thought. There are some fairly large differences between linux-core and upstream, some of which have been in linux-core for a long time. It's one thing to

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Stephane Marchesin
On Tue, Aug 26, 2008 at 10:21 PM, Jesse Barnes [EMAIL PROTECTED] wrote: On Tuesday, August 26, 2008 1:03 pm Stephane Marchesin wrote: As for the new development model... Things are actually worse than I thought. There are some fairly large differences between linux-core and upstream, some

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Jesse Barnes
On Tuesday, August 26, 2008 1:28 pm Stephane Marchesin wrote: On Tue, Aug 26, 2008 at 10:21 PM, Jesse Barnes [EMAIL PROTECTED] wrote: On Tuesday, August 26, 2008 1:03 pm Stephane Marchesin wrote: As for the new development model... Things are actually worse than I thought. There are

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Dave Airlie
On Wed, Aug 27, 2008 at 5:23 AM, Thomas Hellström [EMAIL PROTECTED] wrote: Jesse Barnes wrote: The DRM design includes ioctls to allow a userland driver to tell the kernel driver when to register its interrupt handler and on what IRQ. This is a really bad idea for several reasons, and

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Jesse Barnes
On Tuesday, August 26, 2008 4:15 pm Dave Airlie wrote: On Wed, Aug 27, 2008 at 5:23 AM, Thomas Hellström I've only tested this patch so far on i915, where it's still slightly broken; I was planning on fixing it once I've sync'd some more linux-core changes into drm-next (namely the rest of

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Robert Noland
On Wed, 2008-08-27 at 09:15 +1000, Dave Airlie wrote: On Wed, Aug 27, 2008 at 5:23 AM, Thomas Hellström [EMAIL PROTECTED] wrote: Jesse Barnes wrote: The DRM design includes ioctls to allow a userland driver to tell the kernel driver when to register its interrupt handler and on what

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Jesse Barnes
On Tuesday, August 26, 2008 5:13 pm Robert Noland wrote: I kinda prompted this topic to come back to life... I'm less concerned with the IRQ bits than I am with the vblank issue, but they are currently tied together. What I'm seeing right now, it that at least the intel ddx driver calls the

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Robert Noland
On Tue, 2008-08-26 at 18:02 -0700, Jesse Barnes wrote: On Tuesday, August 26, 2008 5:13 pm Robert Noland wrote: I kinda prompted this topic to come back to life... I'm less concerned with the IRQ bits than I am with the vblank issue, but they are currently tied together. What I'm

Re: [RFC] remove DRM IRQ installation funcs

2008-08-26 Thread Jesse Barnes
On Tuesday, August 26, 2008 9:03 pm Robert Noland wrote: On Tue, 2008-08-26 at 18:02 -0700, Jesse Barnes wrote: On Tuesday, August 26, 2008 5:13 pm Robert Noland wrote: I kinda prompted this topic to come back to life... I'm less concerned with the IRQ bits than I am with the vblank