diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-07-12 10:13:30 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-07-13 09:44:58 +0200 |
commit | 0c3eb12324277eac3334ef04c9780b9e734f6f27 (patch) | |
tree | 8811195d584a77ac3169824296f9d62bf11ebd49 /drivers/gpu/drm/drm_framebuffer.c | |
parent | 765831dc27ab141b3a0be1ab55b922b012427902 (diff) | |
download | blackbird-obmc-linux-0c3eb12324277eac3334ef04c9780b9e734f6f27.tar.gz blackbird-obmc-linux-0c3eb12324277eac3334ef04c9780b9e734f6f27.zip |
drm/atomic: Use the correct iterator macro in atomic_remove_fb
for_each_obj_in_state will be removed, so use the new state here.
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: http://patchwork.freedesktop.org/patch/msgid/20170712081344.25495-3-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_framebuffer.c')
-rw-r--r-- | drivers/gpu/drm/drm_framebuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_framebuffer.c b/drivers/gpu/drm/drm_framebuffer.c index fc8ef42203ec..607ef3a97c42 100644 --- a/drivers/gpu/drm/drm_framebuffer.c +++ b/drivers/gpu/drm/drm_framebuffer.c @@ -817,7 +817,7 @@ retry: plane->old_fb = plane->fb; } - for_each_connector_in_state(state, conn, conn_state, i) { + for_each_new_connector_in_state(state, conn, conn_state, i) { ret = drm_atomic_set_crtc_for_connector(conn_state, NULL); if (ret) |