drm/i915: only flip frontbuffer if crtc is active
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 24 Oct 2014 13:51:34 +0000 (14:51 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Nov 2014 13:04:56 +0000 (14:04 +0100)
commit3f20df98870236b288a90fc3b65f593d3db05b17
tree0c3fe80ab172a5e43aeafd2063d5c00b7c68aa66
parentff7a60f28fa2e018ecd91dc00cbb91d07ff1eb91
drm/i915: only flip frontbuffer if crtc is active

There is no point in flipping a buffer for a disabled crtc.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-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