<div dir="ltr">Great, thank you!<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Do., 11. Jan. 2024 um 19:05 Uhr schrieb André Almeida <<a href="mailto:andrealmeid@igalia.com">andrealmeid@igalia.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Em 11/01/2024 14:59, Xaver Hugl escreveu:<br>
> Am Do., 11. Jan. 2024 um 18:13 Uhr schrieb Simon Ser <br>
> <<a href="mailto:contact@emersion.fr" target="_blank">contact@emersion.fr</a> <mailto:<a href="mailto:contact@emersion.fr" target="_blank">contact@emersion.fr</a>>>:<br>
> <br>
> Are we sure that all drivers handle these two props properly with async<br>
> page-flips? This is a new codepath not taken by the legacy uAPI.<br>
> <br>
> I've only tested on amdgpu so far. Afacs the other drivers that would need<br>
> testing / that support atomic and async pageflips are<br>
> - i915<br>
> - noueveau (though atomic is disabled by default, so maybe it doesn't <br>
> matter?)<br>
> - vc4<br>
> - atmel-hlcdc<br>
> <br>
> The first two I can test, the latter I don't have the hardware for. I <br>
> don't know if I can<br>
> extensively test fb_damage_clips either / how I'd even know if it's <br>
> being applied<br>
> correctly, but in the worst case I'd expect the driver to not do the <br>
> optimizations the<br>
> property allows.<br>
> <br>
> As an alternative to this, would it be okay to expose a driver hook for <br>
> optional<br>
> driver-specific checks that drm_atomic_set_property can delegate to, and <br>
> only<br>
> allow this with the properties and hardware that's been tested? Then more<br>
> properties (like cursor position changes on amdgpu) could be easily <br>
> added later<br>
> on too.<br>
<br>
I'm working on some mechanism to allow overlay planes on amdgpu, and I <br>
think I can add your needs to it. I'll share in the mailing list when I <br>
have something more concrete.<br>
</blockquote></div>