]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 26 May 2014 13:54:58 +0000 (15:54 +0200)
commitdbf0001f5cf7b72526ae62ac9a57c00176be0411
treea576c1d91d062236188ae6bddf3a8b15ad319e4a
parentde860e4c935ff8e666c8da2f962b2519fa72ba4b
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