Name

drm_atomic_crtc_for_each_plane — iterate over planes currently attached to CRTC

Synopsis

drm_atomic_crtc_for_each_plane ( plane,
  crtc);
 

Arguments

plane

the loop cursor

crtc

the crtc whose planes are iterated

Description

This iterates over the current state, useful (for example) when applying atomic state after it has been checked and swapped. To iterate over the planes which *will* be attached (for ->atomic_check) see drm_crtc_for_each_pending_plane