drm/i915: Make wait_for_flips interruptible.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 18 Aug 2015 11:40:05 +0000 (13:40 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 2 Nov 2015 14:50:17 +0000 (15:50 +0100)
commit5008e874edd34705be433bfa74bd29908182b36e
tree3e5d75193d255984963a5c9de73795520de2c45c
parent3abc4e09c620e3b53887d7add88158549eee021f
drm/i915: Make wait_for_flips interruptible.

Move it from intel_crtc_atomic_commit to prepare_plane_fb.
Waiting is done before committing, otherwise it's too late
to undo the changes.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ander Conselvan De Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_atomic.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h