commit | fce2bad0ee2666d6a10bfeb634b1021469cc3d79 | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Thu Nov 11 16:14:56 2010 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Fri Dec 03 15:11:45 2010 +1000 |
tree | bc66c771c5c27dcd3b59135fb25c39c342ffed71 | |
parent | e4cbadcaaa4678020e37ca93502942ffdf9aef80 [diff] |
drm/nv50: rework PGPIO IRQ handling and hotplug detection 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>