drm/i915/skl: Introduce intel_num_planes()
It can be handy to get the number of planes for this pipe, ie including the primary plane to loop over them. Introduce a little function to do so. Reviewed-by:Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by:
Damien Lespiau <damien.lespiau@intel.com> Signed-off-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
Showing
Please register or sign in to comment