]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Drop pipe_enable checks in vblank funcs
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Feb 2015 20:03:43 +0000 (21:03 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Feb 2015 09:54:27 +0000 (10:54 +0100)
commit1efa2e357e4ca0a050b9da6f5f8e0d3fc42bb2f7
tree0bb714891425518d77eca8789df5417385cb375c
parent9625604cebcb3f5be2e692408274734e8ae63979
drm/i915: Drop pipe_enable checks in vblank funcs

With Ville's rework to use drm_crtc_vblank_on/off the core will take
care of rejecting drm_vblank_get calls when the pipe is off. Also the
core won't call the get_vblank_counter hooks in that case either. And
since we've dropped ums support recently we can now remove these
hacks, yay!

Noticed while trying to answer questions Laurent had about how the new
atomic helpers work.

Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/i915_irq.c