drm/i915: Drop unpin stall in atomic_prepare_commit
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Jul 2017 17:57:54 +0000 (19:57 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Jul 2017 20:45:42 +0000 (22:45 +0200)
commit3118cb0678550e4296a7ae3f5d88ca5a714fd155
treedb19b263cdee635a05da511e8952c42f6e3cbd80
parent8b5d27b911d741054c65fb57f0d794a283308577
drm/i915: Drop unpin stall in atomic_prepare_commit

The core already does this in setup_commit(). With this we can also
remove the unpin_work_count since it's the last user, and also remove
the loop since that was only used for stalling against legacy flips.

v2: Amend commit message a bit (Chris).

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170720175754.30751-8-daniel.vetter@ffwll.ch
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h