drm/i915: Keep vblank interrupts enabled while enabling/disabling planes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 May 2014 14:48:06 +0000 (17:48 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Jun 2014 14:57:25 +0000 (16:57 +0200)
commitf98551ae9222ce6cbfe5e9644fa129acd8264a97
tree61b7060dc6089020541686024a0b6590155b71fa
parent1938e59ab719f38f07cb02120349c480857ce992
drm/i915: Keep vblank interrupts enabled while enabling/disabling planes

Because of the upcoming vblank interrupt driven watermark update
mechanism we will have use for vblank interrupts during plane
enabling/disabling. So don't call drm_vblank_off() until planes
are off, and call drm_vblank_on() just before we start to enable
the planes.

v2: Pimp commit message (Paulo)

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c