<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>Hi Martin,</div><div><br></div><div>I already planed to do it very soon if there is no other activity. Shouldn't be so hard to implement. Thank you for syncing with me.</div><div><br></div><div>Best regards </div><div>-Carsten</div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757" dir="auto">Von meinem Samsung Galaxy Smartphone gesendet.</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Ursprüngliche Nachricht --------</div><div>Von: Martin Peres <martin.peres@free.fr> </div><div>Datum: 04.10.18 09:42 (GMT+01:00) </div><div>An: Michel Dänzer <michel@daenzer.net>, Carsten Behling <carsten.behling@googlemail.com> </div><div>Cc: xorg@freedesktop.org </div><div>Betreff: Re: modesetting TearFree / VSYNC aware rotation pageflipping </div><div><br></div></div>On 03/10/2018 17:36, Michel Dänzer wrote:<br>> On 2018-10-03 4:22 p.m., Carsten Behling wrote:<br>>><br>>>> TearFree uses separate dedicated scanout buffers, to which the "main"<br>>>> buffer contents are copied on demand.<br>>>><br>>>> Originally, these three things (DRI page flipping, rotation and<br>>>> TearFree) were separate and mutually exclusive. However, the<br>>>> amdgpu/radeon drivers support all of them the same time these days; this<br>>>> still requires an extra copy in some cases, but that could be eliminated<br>>>> at least in the non-rotated DRI page flipping case.<br>>>><br>>>> https://gitlab.freedesktop.org/xorg/xserver/merge_requests/24 has the<br>>>> start of TearFree support for the modesetting driver, but it's still<br>>>> mutually exclusive with rotation (DRI3 page flipping should work with<br>>>> TearFree, but may still exhibit tearing if the client/user disables<br>>>> sync-to-vblank).<br>>><br>>> Couldn't we extend modesetting in addition to Martin's TearFree patch the<br>>> same way you did here for Radeon?:<br>>><br>>> https://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=798c4fd16d339b1ad5fd729cc884be084c60e38b<br>> <br>> Yeah, something like that would be needed.<br>> <br><br>Carsten,<br><br>Would you like to add support for it on top of my branch? I am a bit<br>swamped but I could be convinced to help you on this if needed :)<br><br>Martin<br></body></html>