drm/imx: Use atomic iterator macros
for_each_obj_in_state is about to be removed, so use the new atomic iterator macros. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Philipp Zabel <p.zabel@pengutronix.de> Link: http://patchwork.freedesktop.org/patch/msgid/20170712081344.25495-13-maarten.lankhorst@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
@@ -675,7 +675,7 @@ int ipu_planes_assign_pre(struct drm_device *dev,
|
||||
int available_pres = ipu_prg_max_active_channels();
|
||||
int i;
|
||||
|
||||
for_each_plane_in_state(state, plane, plane_state, i) {
|
||||
for_each_new_plane_in_state(state, plane, plane_state, i) {
|
||||
struct ipu_plane_state *ipu_state =
|
||||
to_ipu_plane_state(plane_state);
|
||||
struct ipu_plane *ipu_plane = to_ipu_plane(plane);
|
||||
|
Reference in New Issue
Block a user