Skip to content

Commit de7b172

Browse files
committed
drm/atomic: fix plane iterator
The old framebuffer_changed function used old API. Changed to new one. Fixes: 6597d05 ("Revert "drm/atomic: Remove drm_atomic_helper_framebuffer_changed."") Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
1 parent a96e74c commit de7b172

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/drm_atomic_helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,7 @@ bool drm_atomic_helper_framebuffer_changed(struct drm_device *dev,
13521352
struct drm_plane_state *old_plane_state;
13531353
int i;
13541354

1355-
for_each_plane_in_state(old_state, plane, old_plane_state, i) {
1355+
for_each_old_plane_in_state(old_state, plane, old_plane_state, i) {
13561356
if (plane->state->crtc != crtc &&
13571357
old_plane_state->crtc != crtc)
13581358
continue;

0 commit comments

Comments
 (0)