drm: idiot-proof vblank
authorRob Clark <robdclark@gmail.com>
Wed, 6 Aug 2014 17:16:59 +0000 (13:16 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 6 Aug 2014 20:35:37 +0000 (22:35 +0200)
commite6ae8687a87b1fe5c25e824c8ad300f5587eb622
tree7aa020b26aaeff811c9d76206b13f00582f7a971
parentddde43711fdde505ac413102faa2352704cd858a
drm: idiot-proof vblank

After spending slightly more time than I'd care to admit debugging the
various and presumably spectacular way things fail when you pass too low
a value to drm_vblank_init() (thanks console-lock for not letting me see
the carnage!), I decided it might be a good idea to add some sanity
checking.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_irq.c