[PATCH] drm: DON'T require each CRTC to have a unique primary plane

Simon Ser contact at emersion.fr
Mon Mar 29 14:11:15 UTC 2021


On Monday, March 29th, 2021 at 4:07 PM, Maxime Ripard <maxime at cerno.tech> wrote:

> Since it looks like you have two mutually exclusive planes, just expose
> one and be done with it?

You can expose the other as an overlay. Clever user-space will be able
to figure out that the more advanced plane can be used if the primary
plane is disabled.

But yeah, I don't think exposing two primary planes makes sense. The
"primary" bit is just there for legacy user-space, it's a hint that
it's the best plane to light up for fullscreen content. It has no other
significance than that, and in particular it doesn't mean that it's
incompatible with other primary planes.


More information about the dri-devel mailing list