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

From: Simon Ser
Date: Mon Mar 29 2021 - 10:12:16 EST


On Monday, March 29th, 2021 at 4:07 PM, Maxime Ripard <maxime@xxxxxxxxxx> 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.