OSDN Git Service

drm/atomic: Use new iterator macros in drm_atomic_helper_wait_for_flip_done, again.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 19 Jul 2017 14:39:14 +0000 (16:39 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 1 Aug 2017 09:03:06 +0000 (11:03 +0200)
commitb20adb9188f10874af2890eebec8862b91c71c5c
tree5a943efd61e44d599ebb27af2df1fcaa6fc9568d
parent3792b7c1a70815fe4e954221c096f9278638fd21
drm/atomic: Use new iterator macros in drm_atomic_helper_wait_for_flip_done, again.

for_each_obj_in_state is about to be removed, so use the correct new
iterator macro.

I renamed the variable to 'unused', but forgot to convert
drm_atomic_helper_wait_for_flip_done to the new iterator macro,
so make it work this time.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: David Airlie <airlied@linux.ie>
Link: https://patchwork.freedesktop.org/patch/msgid/20170719143920.25685-2-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic_helper.c