]> git.baikalelectronics.ru Git - kernel.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)
commit372bb413f800d172d394f28980547735d74f70f6
tree0bb714891425518d77eca8789df5417385cb375c
parentb5da136284155ec395b8ddda6d29213300511fe1
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