[PATCH v2 4/5] drm: omapdrm: Store the Z order in the plane state zpos field
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Apr 24 14:00:58 UTC 2017
Hi Tomi,
On Monday 24 Apr 2017 12:40:10 Tomi Valkeinen wrote:
> On 15/04/17 12:16, Laurent Pinchart wrote:
> > The DRM core implements a standard "zpos" property to control planes
> > ordering. The omapdrm driver implements a similar property named
> > "zorder". Although we can't switch to DRM core handling of the "zpos"
> > property for backward compatibility reasons, we can store the zorder
> > value in the drm_plane_state zpos field, saving us from having to
> > implement custom plane state handling.
>
> I'm fine with the zpos change, but I'd like to keep the omap_plane_state
> around. It'll be empty after this patch, but we have a bunch of
> properties we need to add. Some can be added as common DRM properties,
> but perhaps not all. It's so much easier to handle those patches if the
> plumbing is there already, instead of adding it back.
How about reverting the needed parts of this patch at that time then ? I think
it would be better than keeping useless code around until a hypothetical time
when it will be needed.
--
Regards,
Laurent Pinchart
More information about the dri-devel
mailing list