Go to file
Mario Kleiner 1cd5564202 DRI2: handle target_msc, divisor and remainder properly in DRI2ScheduleSwap
The current code in I830DRI2ScheduleSwap() only schedules the correct
vblank events for the case divisor == 0, i.e., the simple
glXSwapBuffers() case.

In a glXSwapBuffersMscOML() request, divisor can be > 0, which would go
wrong.

This modified code should handle target_msc, divisor, remainder and the
different cases defined in the OML_sync_control extension correctly for
the divisor > 0 case.

It also tries to make sure that the effective framecount of swap
satisfies all constraints, taking the 1 frame delay in pageflipping mode
and possible delays in blitting/exchange mode due to
DRM_VBLANK_NEXTONMISS into account.

The swap_interval logic in the X-Servers DRI2SwapBuffers() call expects
the returned swap_target from the DDX to be reasonably accurate,
otherwise implementation of swap_interval for the glXSwapBuffers() as
defined in the SGI_swap_interval extension may become unreliable.

For non-pageflipped mode, the returned swap_target is always correct due
to the adjustments done by drmWaitVBlank(), as DRM_VBLANK_NEXTONMISS is
set.

In pageflipped mode, DRM_VBLANK_NEXTONMISS can't be used without severe
impact on performance, so the code in I830DRI2ScheduleSwap() must make
manual adjustments to the returned vbl.reply.sequence number.

This patch adds the needed adjustments.

Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-03-05 12:52:47 -08:00
man Update Sun license notices to current X.Org standard form 2010-01-15 15:51:28 -08:00
src DRI2: handle target_msc, divisor and remainder properly in DRI2ScheduleSwap 2010-03-05 12:52:47 -08:00
uxa uxa: Fix type mismatch to avoid compiler warning. 2010-03-04 09:46:33 -08:00
.gitignore .gitignore: use common defaults with custom section # 24239 2009-11-14 09:23:55 -05:00
AUTHORS AUTHORS: Add Robert Lowery to the authors file 2009-04-15 18:07:17 -07:00
COPYING Stub COPYING files 2005-12-19 16:25:53 +00:00
Makefile.am Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 2009-11-23 09:25:05 -05:00
NEWS NEWS: Add notes for the 2.10.901 snapshot. 2010-02-26 17:05:06 -08:00
README Take note for Pineview support in README and manpage 2010-01-04 14:15:41 -08:00
RELEASING Increment version to 2.9.0 2009-09-28 20:03:39 -07:00
autogen.sh Update autogen.sh to one that does objdir != srcdir. 2005-08-18 09:03:47 +00:00
configure.ac Update version number to 2.10.901 2010-02-26 17:05:45 -08:00

README

xf86-video-intel
Open-source X.org graphics driver for Intel graphics
http://www.intellinuxgraphics.com/

What is xf86-video-intel
------------------------
The xf86-video-intel module is an open-source 2D graphics driver for
the X Window System as implemented by X.org. It supports a variety of
Intel graphics chipsets including:

	i810/i810e/i810-dc100,i815,
	i830M,845G,852GM,855GM,865G,
	915G/GM,945G/GM/GME,946GZ
	G/GM/GME/Q965,
	G/Q33,G/Q35,G41,G/Q43,G/GM/Q45
	PineView-M (Atom N400 series)
	PineView-D (Atom D400/D500 series)

Where to get more information about the driver
----------------------------------------------
The primary source of information about this and other open-source
drivers for Intel graphics is:

	http://intellinuxgraphics.org/

Documentation specific to the xf86-video-intel driver including
possible configuration options for the xorg.conf file can be found in
the intel(4) manual page. After installing the driver this
documentation can be read with the following command:

	man intel

Mailing list for communication with users and developers of
xf86-video-intel:

	intel-gfx@lists.freedesktop.org

	Note: Subscription is required before posting, but anyone is
	free to subscribe. See instructions (and archives) here:

	http://lists.freedesktop.org/mailman/listinfo/intel-gfx

To report bugs encountered with the driver, see:

	http://intellinuxgraphics.org/how_to_report_bug.html

To see bugs that are targeted to be fixed in the next release:

	https://bugs.freedesktop.org/show_bug.cgi?id=intel-2d-release