[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    AW: Re: modesetting TearFree / VSYNC aware rotation pageflipping
From:       "carsten.behling" <carsten.behling () googlemail ! com>
Date:       2018-10-04 7:56:05
Message-ID: nl61shn7u02y467s3g4k0fcd.1538639765558 () email ! android ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

Hi Martin,
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. Best regards  -Carsten


Von meinem Samsung Galaxy Smartphone gesendet.
-------- Ursprüngliche Nachricht --------Von: Martin Peres <martin.peres@free.fr> \
Datum: 04.10.18  09:42  (GMT+01:00) An: Michel Dänzer <michel@daenzer.net>, Carsten \
Behling <carsten.behling@googlemail.com> Cc: xorg@freedesktop.org Betreff: Re: \
modesetting TearFree / VSYNC aware rotation pageflipping  On 03/10/2018 17:36, Michel \
Dänzer wrote:
> On 2018-10-03 4:22 p.m., Carsten Behling wrote:
> > 
> > > TearFree uses separate dedicated scanout buffers, to which the "main"
> > > buffer contents are copied on demand.
> > > 
> > > Originally, these three things (DRI page flipping, rotation and
> > > TearFree) were separate and mutually exclusive. However, the
> > > amdgpu/radeon drivers support all of them the same time these days; this
> > > still requires an extra copy in some cases, but that could be eliminated
> > > at least in the non-rotated DRI page flipping case.
> > > 
> > > https://gitlab.freedesktop.org/xorg/xserver/merge_requests/24 has the
> > > start of TearFree support for the modesetting driver, but it's still
> > > mutually exclusive with rotation (DRI3 page flipping should work with
> > > TearFree, but may still exhibit tearing if the client/user disables
> > > sync-to-vblank).
> > 
> > Couldn't we extend modesetting in addition to Martin's TearFree patch the
> > same way you did here for Radeon?:
> > 
> > https://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=798c4fd16d339b1ad5fd729cc884be084c60e38b
> > 
> 
> Yeah, something like that would be needed.
> 

Carsten,

Would you like to add support for it on top of my branch? I am a bit
swamped but I could be convinced to help you on this if needed :)

Martin


[Attachment #5 (text/html)]

<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&nbsp;</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 \
&lt;martin.peres@free.fr&gt; </div><div>Datum: 04.10.18  09:42  (GMT+01:00) \
</div><div>An: Michel Dänzer &lt;michel@daenzer.net&gt;, Carsten Behling \
&lt;carsten.behling@googlemail.com&gt; </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>&gt; On \
2018-10-03 4:22 p.m., Carsten Behling wrote:<br>&gt;&gt;<br>&gt;&gt;&gt; TearFree \
uses separate dedicated scanout buffers, to which the "main"<br>&gt;&gt;&gt; buffer \
contents are copied on demand.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Originally, these \
three things (DRI page flipping, rotation and<br>&gt;&gt;&gt; TearFree) were separate \
and mutually exclusive. However, the<br>&gt;&gt;&gt; amdgpu/radeon drivers support \
all of them the same time these days; this<br>&gt;&gt;&gt; still requires an extra \
copy in some cases, but that could be eliminated<br>&gt;&gt;&gt; at least in the \
non-rotated DRI page flipping case.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; \
https://gitlab.freedesktop.org/xorg/xserver/merge_requests/24 has the<br>&gt;&gt;&gt; \
start of TearFree support for the modesetting driver, but it's still<br>&gt;&gt;&gt; \
mutually exclusive with rotation (DRI3 page flipping should work with<br>&gt;&gt;&gt; \
TearFree, but may still exhibit tearing if the client/user disables<br>&gt;&gt;&gt; \
sync-to-vblank).<br>&gt;&gt;<br>&gt;&gt; Couldn't we extend modesetting in addition \
to Martin's TearFree patch the<br>&gt;&gt; same way you did here for \
Radeon?:<br>&gt;&gt;<br>&gt;&gt; \
https://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=798c4fd16d339b1ad5fd729cc884be084c60e38b<br>&gt; \
<br>&gt; Yeah, something like that would be needed.<br>&gt; \
<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>


[Attachment #6 (text/plain)]

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic