]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
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)
commitfce2bad0ee2666d6a10bfeb634b1021469cc3d79
treebc66c771c5c27dcd3b59135fb25c39c342ffed71
parente4cbadcaaa4678020e37ca93502942ffdf9aef80
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>
drivers/gpu/drm/nouveau/nouveau_connector.c
drivers/gpu/drm/nouveau/nouveau_dp.c
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_state.c
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/nouveau/nv50_display.h
drivers/gpu/drm/nouveau/nv50_gpio.c