drm/i915: adjust has_pending_fb_unpin to atomic
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Jul 2017 17:57:52 +0000 (19:57 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Jul 2017 20:45:28 +0000 (22:45 +0200)
commitfa05887a8906a674ebd3c10ba22d5328ba6038af
treeb08d4f48c08b5c20f8ae6fa4e9fb99da6b58415a
parentfd3a40242e8766ae342fa9fe77d44ae7c8139b45
drm/i915: adjust has_pending_fb_unpin to atomic

A bit an oversight - the current code did nothing, since only
legacy flips used the unpin_work_count and assorted logic.

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-6-daniel.vetter@ffwll.ch
drivers/gpu/drm/i915/intel_display.c