drm/nv50: rework PGPIO IRQ handling and hotplug detection
authorBen Skeggs <bskeggs@redhat.com>
Thu, 11 Nov 2010 06:14:56 +0000 (16:14 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 3 Dec 2010 05:11:45 +0000 (15:11 +1000)
Allows callers to install their own handlers for when a GPIO line
changes state (such as for hotplug detect).

This also fixes a bug where we weren't acknowledging the GPIO IRQ
until after the bottom half had run, causing a severe IRQ storm
in some cases.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

No differences found