Re: [PATCH v7 4/6] drm: Refuse to async flip with atomic prop changes

From: Simon Ser
Date: Mon Oct 23 2023 - 04:27:28 EST


On Sunday, October 22nd, 2023 at 12:12, Michel Dänzer <michel.daenzer@xxxxxxxxxxx> wrote:

> On 10/17/23 14:16, Simon Ser wrote:
>
> > After discussing with André it seems like we missed a plane type check
> > here. We need to make sure FB_ID changes are only allowed on primary
> > planes.
>
> Can you elaborate why that's needed?

Current drivers are in general not prepared to perform async page-flips
on planes other than primary. For instance I don't think i915 has logic
to perform async page-flip on an overlay plane FB_ID change.