Go to file
Simon Que bc081420a5 xf86-video-intel: change order of DPMS operations
The operations when setting dpms on should be in the order opposite
of what's done when setting dpms off.

This is because of potentially conflicting effects:
~ drmModeConnectoSetProperty() enables/disables the backlight driver.
Some backlight drivers such as intel_backlight set the backlight to 0
when disabled and to max when enabled.
~ intel_output_dpms_backlight() saves the backlight value when turning
DPMS off and restores it when turning DPMS on.

Here's the current order of operations:

xset dpms force off (backlight is nonzero)
   drmModeConnectoSetProperty(DPMSModeOff)
      kernel: disable backlight, backlight=0
   intel_output_dpms_backlight(DPMSModeOff)
      save backlight value (0) <-- it has been set to 0 by kernel
      set backlight to 0

xset dpms force on
   drmModeConnectoSetProperty(DPMSModeOn)
      kernel: enable backlight, backlight=max
   intel_output_dpms_backlight(DPMSModeOn)
      set backlight to saved value (0)

The correct way to do this would be to reverse the operations during
xset dpms force off:
   intel_output_dpms_backlight(DPMSModeOff)
      save backlight value (nonzero)
      set backlight to 0
   drmModeConnectoSetProperty(DPMSModeOff)
      kernel: enable backlight, backlight=0

This restores the saved nonzero backlight value during the force on.

Signed-off-by: Simon Que <sque@chromium.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-12-08 14:06:16 +00:00
m4 Update autotools configuration 2011-02-09 11:46:19 +00:00
man Fix man page formatting 2011-08-01 15:37:29 +01:00
src xf86-video-intel: change order of DPMS operations 2011-12-08 14:06:16 +00:00
test test: Compile fix for make check 2011-11-07 09:28:44 +00:00
uxa glamor: Include glamor cflags and libs for atypical builds 2011-11-17 13:43:37 +00:00
.gitignore gitignore: add git_version.h 2011-09-09 23:15:58 +01:00
AUTHORS AUTHORS: Add Robert Lowery to the authors file 2009-04-15 18:07:17 -07:00
COPYING COPYING: replace stub file with actual Copyright notices. 2010-06-12 20:24:10 -04:00
Makefile.am Compile out UXA if so desired 2011-11-16 22:15:39 +00:00
NEWS NEWS: Release notes for 2.17.0 2011-11-16 23:13:44 +00: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 autotools configuration 2011-02-09 11:46:19 +00:00
configure.ac uxa: Unmap the buffer after swrast 2011-12-05 10:30:06 +00: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