[PATCH] drm: Don't force all planes to be added to the state due to zpos

Daniel Vetter daniel at ffwll.ch
Mon Oct 10 13:14:22 UTC 2016


On Mon, Oct 10, 2016 at 2:56 PM, Ville Syrjälä
<ville.syrjala at linux.intel.com> wrote:
>> I think the
>> proper way is to keep track of a per-plane zpos changed (or compute
>> that ad-hoc, we have both states). And only grab more planes if a zpos
>> value changed.
>
> Doesn't work with normalized zpos. The plane's actual zpos may be
> unchanged even if the normalized zpos changes.

Well I meant to do a first loop to check for any zpos changes, and
only then add all the planes. If no one touched zpos, then also no
normalized zpos can change. I think at least ... Or what am I missing?
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the dri-devel mailing list