Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Improvements and fixes for Intel ddx swap scheduling/timestamping.
@ 2012-10-07  6:38 Mario Kleiner
  2012-10-07  6:38 ` [PATCH 1/3] ddx/dri2: Make triple-buffering compatible with timestamping on Xorg 1.12+ Mario Kleiner
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Mario Kleiner @ 2012-10-07  6:38 UTC (permalink / raw)
  To: intel-gfx; +Cc: daniel.vetter

Hi,

a series of three patches to improve the dri2 swap scheduling
and timestamping for the current intel ddx.

The first one enables proper OML_sync_control timestamping
while triple-buffering is enabled and XOrg 1.12+ with DRI2SwapLimit
support is in use. So far, timestamping was unuseable with
triple-buffering, only worked with double-buffering.

The second one repairs the broken pageflip swap scheduling, which
is apparently in a frightening state for timing sensitive apps
since a year, due to a tiny but really ugly bug. In a perfect
implementation of Murphy's law, the same commit that broke the
scheduling also disabled the builtin correctness checks that
were supposed to catch such bugs.

The third one proposes to revert 'SwapBuffersWait' to its old
behaviour where it didn't affect pageflipping. I just can't
think of a case where the current behaviour makes any sense, not
even for benchmarking? But maybe i'm overlooking something.

All patches were tested against an Intel 945-GME gpu.

I don't really care about the 'SwapBuffersWait' patch one way
or the other, but the first two are crucial to make the intel
ddx useable in a painless and safe way again for users of
timing sensitive applications.

Thanks,
-mario

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

end of thread, other threads:[~2012-12-12 20:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-07  6:38 Improvements and fixes for Intel ddx swap scheduling/timestamping Mario Kleiner
2012-10-07  6:38 ` [PATCH 1/3] ddx/dri2: Make triple-buffering compatible with timestamping on Xorg 1.12+ Mario Kleiner
2012-10-07  6:38 ` [PATCH 2/3] ddx/dri2: Repair broken pageflip swap scheduling Mario Kleiner
     [not found]   ` <509365D3.3080203@tuebingen.mpg.de>
2012-12-10 18:48     ` Jesse Barnes
2012-12-10 23:00       ` Jesse Barnes
2012-12-12 19:12         ` Mario Kleiner
2012-12-12 20:15       ` Mario Kleiner
2012-10-07  6:38 ` [PATCH 3/3] ddx/dri2: Prevent option 'SwapBuffersWait' from disabling pageflip Mario Kleiner
2012-10-08  8:00 ` Improvements and fixes for Intel ddx swap scheduling/timestamping Daniel Vetter
2012-10-08 16:08   ` Eric Anholt
2012-10-08 22:49     ` Mario Kleiner

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