drm/i915: move IRQ function table init to i915_irq.c
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 28 Jun 2011 20:00:41 +0000 (13:00 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 30 Jun 2011 03:37:22 +0000 (20:37 -0700)
commitf71d4af4cd475aced6d9ec9730b03885ac80b833
tree94cc3ab06f0d8d050cfb29bafac7d1896d5e9003
parent79d2427338e8da362678de32a1c8af1dc8a9810a
drm/i915: move IRQ function table init to i915_irq.c

This lets us make the various IRQ functions static and helps avoid
problems like the one fixed in "drm/i915: Use chipset-specific irq
installers" where one of the exported functions was called rather than
the chipset specific version.

This also fixes a UMS-mode bug -- the correct irq functions for IRL
and later chips were only getting loaded in the KMS path.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c