Cleanup vblank_init and fix drm_irq_install
authorJesse Barnes <jesse.barnes@intel.com>
Thu, 1 Nov 2007 19:50:03 +0000 (12:50 -0700)
committerJesse Barnes <jesse.barnes@intel.com>
Thu, 1 Nov 2007 19:50:03 +0000 (12:50 -0700)
commit00d60265570c866261c09fd3397d5853a1ce196a
treea3d4757f0754a2c4393e3c997c73c320264df6d9
parent91aae7e683786a48547872b0a5fa92b2232e02c0
Cleanup vblank_init and fix drm_irq_install

The vblank_init function wanted a couple of cleanups.

Also, drm_irq_install wasn't checking the new return value of irq_postinstall.
If it returns a failure, assume IRQs didn't get set up and take appropriate
action.
linux-core/drm_irq.c