Skip to content

Commit 1d9873c

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 186d7a2 commit 1d9873c

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
@@ -1481,7 +1481,7 @@ bool drm_atomic_helper_framebuffer_changed(struct drm_device *dev,
14811481
struct drm_plane_state *old_plane_state;
14821482
int i;
14831483

1484-
for_each_plane_in_state(old_state, plane, old_plane_state, i) {
1484+
for_each_old_plane_in_state(old_state, plane, old_plane_state, i) {
14851485
if (plane->state->crtc != crtc &&
14861486
old_plane_state->crtc != crtc)
14871487
continue;

0 commit comments

Comments
 (0)