public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* DRI3/Present fixes for XServers 1.16 and 1.17rc - (v2)
@ 2014-12-02 19:08 Mario Kleiner
  2014-12-02 19:08 ` [PATCH 1/2] present: Avoid crashes in DebugPresent(), a bit more info Mario Kleiner
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mario Kleiner @ 2014-12-02 19:08 UTC (permalink / raw)
  To: keithp, axel.davy, mario.kleiner.de, jamey, chris, skeggsb
  Cc: maarten.lankhorst, intel-gfx, xorg-devel, Theo0x48, jcristau

Hi,

an updated set of patches to fix the bugs i found in the
xserver dri3/present implementation and one bug in intel-ddx
uxa/dri3/present implementation. Axel Davys comments made me
rethink my original xserver patch and the new solution is
simple and better and afaics how this was actually intended
to work in the server, the server properly using the present_check_flip
ddx driver function.

Patch 1/2 fixes and slightly improves DebugPresent() macros for
the server to avoid crashes at logout, compositor en/disable or
closing windows while flips are pending when the server is compiled
with debug macros on.

Patch 2/2 fixes the use of PresentOptionAsync for page-flipped present,
and makes Present working on nouveau without horrible tearing.

These patches apply to master, 1.17rc and 1.16.2. They were tested
on top of 1.16.2 with the dri3/present backends of nouveau master
(glamor and exa) and intel master (sna and fixed uxa) on single-display
and dual-display, also ran through my hardware timing test equipment.

Patch uxa/present is a required fix for intel-ddx uxa backend, so
intel_present_check_flip no longer lies to the server about its
capabilities.

Can the x-server patches please also be included into the 1.16 series?

thanks,
-mario

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-12-05  8:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-02 19:08 DRI3/Present fixes for XServers 1.16 and 1.17rc - (v2) Mario Kleiner
2014-12-02 19:08 ` [PATCH 1/2] present: Avoid crashes in DebugPresent(), a bit more info Mario Kleiner
2014-12-02 19:08 ` [PATCH] uxa/present: Handle sync_flip flag in intel_present_check_flip() Mario Kleiner
2014-12-02 19:08 ` [PATCH 2/2] present: Fix use of vsynced pageflips and honor PresentOptionAsync. (v3) Mario Kleiner
2014-12-04 23:56   ` Eric Anholt
2014-12-05  8:31     ` Mario Kleiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox