<div dir="ltr">Hi Daniel & all<div><br></div><div>I find the function drm_output_prepare_overlay_view() only use the plane type of WDRM_PLANE_TYPE_OVERLAY. it could be a waste for some planes of type 

WDRM_PLANE_TYPE_PRIMARY if the universal planes is enable.</div><div><br></div><div>For example, the kernel define 6 crtcs, and each crtc will have one primary type plane, but not all of the crtcs are used by weston_output. Some crtcs may never used, if we reserve  all the primary type planes as scanout plane, that could waste some of them.</div><div><br></div><div>Could the open source drm backend modify the logic of judge the overlay plane? let the primary plane equal to overlay plane or judge in drm_output_prepare_overlay_view(), if the plane is not used by outputs, it could be used by overlay?</div><div><br></div><div>Thank you!</div><div><br></div><div>Best regards</div><div>Nancy</div></div>