]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite516e420033862823f108fa2c13b7607bc4cbce8
tree94cc3ab06f0d8d050cfb29bafac7d1896d5e9003
parentcf5140cc17a1bdf5409acb60c914488fbe61b420
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