drm/omapdrm: Fix omap_atomic_wait_for_completion
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 19 Jul 2017 14:39:17 +0000 (16:39 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 1 Aug 2017 09:07:36 +0000 (11:07 +0200)
commit34d88237388bb6d7b8258e6ba4e71e4d1be32d02
tree4cd5393a470dc0063888eaa8e31b7e0e99015a72
parentb20adb9188f10874af2890eebec8862b91c71c5c
drm/omapdrm: Fix omap_atomic_wait_for_completion

Use the new iterator macro and look for crtc_state->active instead of
enable, only crtc_state->active implies that vblanks will happen.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170719143920.25685-5-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/omapdrm/omap_drv.c