diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-07-12 04:13:39 -0400 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-07-13 03:54:12 -0400 |
commit | a8e3fb5508fe559c2318c2b6966867110e4de98c (patch) | |
tree | bbf38aec2fd060f1613d2b983833187abf459355 | |
parent | e741f2b182e6d6203dfbf294affdfb9eb1009ddf (diff) |
drm/mali: Use new atomic iterator macros
for_each_obj_in_state is about to be removed, so use the new iterator
macros.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Brian Starkey <brian.starkey@arm.com>
Cc: Mali DP Maintainers <malidp@foss.arm.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170712081344.25495-12-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
-rw-r--r-- | drivers/gpu/drm/arm/malidp_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arm/malidp_drv.c b/drivers/gpu/drm/arm/malidp_drv.c index 01b13d219917..a6a05a768dd1 100644 --- a/drivers/gpu/drm/arm/malidp_drv.c +++ b/drivers/gpu/drm/arm/malidp_drv.c | |||
@@ -225,7 +225,7 @@ static void malidp_atomic_commit_tail(struct drm_atomic_state *state) | |||
225 | 225 | ||
226 | drm_atomic_helper_commit_modeset_disables(drm, state); | 226 | drm_atomic_helper_commit_modeset_disables(drm, state); |
227 | 227 | ||
228 | for_each_crtc_in_state(state, crtc, old_crtc_state, i) { | 228 | for_each_old_crtc_in_state(state, crtc, old_crtc_state, i) { |
229 | malidp_atomic_commit_update_gamma(crtc, old_crtc_state); | 229 | malidp_atomic_commit_update_gamma(crtc, old_crtc_state); |
230 | malidp_atomic_commit_update_coloradj(crtc, old_crtc_state); | 230 | malidp_atomic_commit_update_coloradj(crtc, old_crtc_state); |
231 | malidp_atomic_commit_se_config(crtc, old_crtc_state); | 231 | malidp_atomic_commit_se_config(crtc, old_crtc_state); |