Commit Graph

63 Commits

Author SHA1 Message Date
Keith Packard 33d6e7a235 intel.man: Mark NoAccel option as i810/i815 only
The NoAccel option is not valid for other chips.

Signed-off-by: Keith Packard <keithp@keithp.com>
2009-07-11 22:53:11 -07:00
Jesse Barnes 1eec83a203 Add option to control swapbuffers behavior
Until we get triple buffering, we'll want this so users can avoid taking a
performance hit on apps that render slower than the refresh rate.

Fixes fdo bug #22234.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-06-23 15:05:03 -07:00
Eric Anholt fa81ae1637 Remove EXA support.
UXA has completely replaced EXA at this point.  UXA is the same rendering
core as EXA, but relying on kernel memory management or a fake bufmgr instead
of trying to manage memory in the X Server.
2009-04-27 17:05:59 -07:00
Eric Anholt 1b10745a25 Remove XAA support.
While EXA/UXA aren't completely good replacements (see bugzilla for
performance and stability problems), we are pretty sure at this point that
it's the right way to go and that having multiple acceleration architectures
is getting in the way of producing a stable codebase.
2009-04-27 17:05:59 -07:00
Carl Worth 506c810f8f Clarify that the default acceleration is UXA if KMS is available.
Stale documentation considered harmful of course.
2009-04-15 16:10:52 -07:00
Ma Ling 053432991c update manpage for BROADCAST_RGB property 2009-04-13 14:31:06 +08:00
Carl Worth 3d4ee3cac1 Remove support for 'auto'(-1) value of XV_SYNC_TO_VBLANK
We previously had a heurstic here where we would only sync to vblank
for windows that covered more than 25% of the screen. We don't need
this anymore since the new approach to sync, (WAIT_FOR_SCANLINE_WINDOW),
is not excessively costly for small windows.
2009-04-06 11:31:20 -07:00
Zhenyu Wang 4e95327323 TV: force TV as connected with TV_Connector option
In order to bypass failure in TV load detect, TV_Connector option
will always force TV as connected with user specified connector type.
2009-03-16 15:15:26 +08:00
Kristian Høgsberg 73db44e7ac Drop Legacy3D option, only use fixed texture space with non-gem.
With this change, we always expect the 3D driver to use GEM textures
when the 2D driver uses GEM.  When GEM is not available or disabled,
we fall back to legacy fixed textures.
2009-03-11 11:36:57 -04:00
Xiang, Haihao 646e12a978 typo in intel.man 2009-03-09 10:59:36 +08:00
Eric Anholt abb213d933 Document the UXA AccelMethod.
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-03-06 14:34:24 -08:00
Dan Nicholson c3a747cb54 man: Put option defaults on separate indented line
The groff .IP macro is used to put the option defaults in a new indented
paragraph so they are separated from the explanations.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
[anholt: hand-applied due to conflicts.  mistakes are my own]
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-03-06 13:39:14 -08:00
Eric Anholt d2af21a66d Remove configurable support for disabling XV.
google shows one instance of this being used a year and a half ago.
2009-03-06 13:29:09 -08:00
Eric Anholt 755757669f Remove configured SW cursor support.
Any time we actually need SW cursors, it gets enabled automatically.
2009-03-06 13:26:10 -08:00
Xiang, Haihao 67fef27f4b Xv: free tearing on textured video
Add an Xv attribute XV_SYNC_TO_VBLANK which has three values -1(auto), 0(off)
and 1(on) to control whether textured adapter synchronizes the screen
update to the vblank. The default value is -1(auto).
2009-03-06 09:40:07 +08:00
Zhenyu Wang 42e34e90e2 TV: add property control for TV attributes
This is based on Jesse's origin patch for bug #12763.
But export integer range to user instead of hardware float
point format, and fix different real format on 965G and 945G
for contrast and saturation.
2009-03-03 22:55:35 +08:00
Zhenyu Wang aa9da5e393 TV: add option to set TV connector type
This can let user override non-stable driver TV load detect,
and set connector type manually, e.g for s-video to component
converter, this patch seems must needed to use HD modes.
2009-03-03 20:43:39 +08:00
Zhenyu Wang 48445d2e93 SDVO: remove ForceSDVODetect option
Which is just a hack to hide our SDVO detect drawback,
we will have SDVO/HDMI detect fix later.
2009-02-13 11:11:18 +08:00
Owain G. Ainsworth c7db320110 Remove the pageflipping infrastructure.
It was broken on current kernels, and deprecated anyway.
2009-01-20 12:11:01 -05:00
Owain G. Ainsworth c82adfd016 Remove triple-buffering support
It never worked with any upstream linux kernel, and is quite heavily
deprecated. A new solution based around DRI2 will probably be
forthcoming. Pageflipping itself is next.
2009-01-20 12:11:01 -05:00
Alan Coopersmith f1e9ca4e4f Remove xorgconfig & xorgcfg from See Also list in man page 2009-01-09 16:30:15 -08:00
Robert Lowery 07f5a82231 TV: add support to set TV margins in xorg.conf 2008-12-03 09:48:23 +08:00
Eric Anholt 801f0eac4f Make I830FALLBACK debugging a runtime instead of compile-time option. 2008-11-05 17:22:00 -08:00
Maxim Levitsky d828b0802c Add an option to make the overlay be the first XV adaptor. 2008-11-05 13:51:19 -08:00
Eric Anholt 55cb65c6fd Enable Option "Legacy3D" for 965 as well, and clarify both the docs and code.
Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Keith Packard <keithp@keithp.com>
2008-10-19 21:53:16 -07:00
Zhenyu Wang 11d304e99c Bug #16631: add option for SDVO force detect
Some ADD2 card doesn't get SDVO detect status setup right,
which disabled outputs on those cards. This adds a new
option "ForceSDVODetect" to probe all SDVO ports anyway.
2008-09-28 10:08:26 +08:00
Jesse Barnes a428892b76 Update supported hardware list 2008-09-23 12:36:11 -07:00
Fabio 57ad9cc689 Man page patch to clarify meaning of VideoRam option with i810/i815 2008-09-01 13:33:50 +08:00
Alan Coopersmith 27e9506fda Man page typo fixes 2008-07-31 20:02:21 -07:00
Jesse Barnes da2eb83fb9 Update man page
Add example dual head config, add info on bug reporting.
2008-07-31 19:21:36 -07:00
Mike Isely 9f32486043 Implement option to ignore external fixed mode settings
The Intel xorg driver tries mightily to determine the native fixed
panel mode settings for the LVDS output.  It does this through various
means, including scanning video BIOS tables, and noticing if the pipe
in question has already been set up by somebody else (and adopting
those timings).  This strategy works well for say a laptop where the
LCD panel is an integral part of the machine.  But for other
applications where the display is unrelated to the system's BIOS or
other software, then the BIOS will likely have no clue how to
configure the LVDS output.  Worse still, the BIOS can simply "get it
wrong", leaving the pipe misconfigured.  Unfortunately the Intel
driver can potentially notice this, adopt the same settings, leaving a
messed up display.

All of this complexity normally happens independently, behind the
scenes, from the mode timings that might otherwise be specified by the
user.  This driver has a concept of fixed, i.e. "native" mode, and
then user-specified mode.  If the corresponding resolutions between
those concepts don't match, then the driver in theory will arrange for
scaling to take place while adhering to the actual native mode of the
panel.  Said another way, if the user says 800x600 but the driver
mistakenly (see above) thinks the native mode is 640x480, then 640x480
is the mode set with scaling to an 800x600 frame buffer.  If the
driver gets the wrong native mode, then the result is a miserable mess
with no way for the user to override what the driver thinks is right.

This patch provides a means to override the driver.  This implements a
new driver option, "LVDSFixedMode" which defaults to true (the normal,
probe-what-I-need behavior).  However when set to false, then all the
guessing is skipped and the driver will assume no fixed, i.e. "native"
mode for the display device.  Instead with this option set to false,
the driver will directly set the timings specified by the user,
providing an escape hatch for situations where the driver can't
correctly figure out the right mode.

Under most scenarios of course, this option should not be needed.  But
in situations where the Intel video BIOS is hopelessly fouled up
related to the LVDS output, this option provides the escape hatch for
the user to get a working display in spite of the BIOS situation.

Signed-off-by: Mike Isely <isely@pobox.com>
2008-05-08 10:00:17 +08:00
Mike Isely e031cc02e6 Implement support for 24 bit pixel format
The Intel driver appears to be coded to only work with displays
expecting 18 bit pixels.  However I have an application using a LCD
display that expects pixel data in 24 bit format.  The difference is
only 2 bits in a single GPU register.  This patch implements that
change, controlled by a new driver option, "LVDS24Bit".  The default
value is false, which is the previous behavior.  When set to true,
then 24 bit panels should work (at least the one I'm testing here
does).

Fd.o bug #15201

Signed-off-by: Mike Isely <isely@pobox.com>
2008-04-09 14:15:03 +08:00
Jesse Barnes 588371ba15 Merge branch 'master' into pfit 2008-03-26 14:53:15 -07:00
Jesse Barnes 52d6ced652 Fixup backlight control and panel fitting property names
They should be listed as lower case, since that's what you'd pass to xrandr.
2008-03-19 11:59:15 -07:00
Zhenyu Wang ac76363406 Disable XvMC if DRI is not enabled.
Default XvMC to disabled.
2008-03-18 16:52:29 +08:00
Jesse Barnes 05cf07071e Initial panel fitting changes
Basic support for panel fitting.
2008-03-13 18:12:00 -07:00
Zhenyu Wang 31654f52b0 Merge branch 'master' into xvmc
Conflicts:

	man/intel.man
	src/i830_driver.c
2008-03-11 14:37:41 +08:00
Jesse Barnes 3c22ed633b Add pipe A force enable quirk
On some platforms, the firmware may read & write GPU registers on lid close,
suspend/resume time or during various SMM events.  If one of the graphics pipes
is disabled at that time, the GPU may hang due to the programming dependencies
of the various registers.

This patch adds a quirk to force the driver to keep pipe A enabled if
necessary, through user configuration in xorg.conf or via a platform specific
quirk.  Leaving the pipe enabled comes at a power cost however, so the quirk
should only be enabled when strictly necessary.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=11432.
2008-01-09 09:47:38 -08:00
Zhenyu Wang 666e01bd42 xvmc: add info in intel.man 2007-12-26 09:51:09 +08:00
Jesse Barnes e2d9fd6425 Describe output properties in more detail
Add descriptions for LVDS and TV output properties and also mention the EDID
property a new output configuration section.
2007-12-07 16:30:46 -08:00
Jesse Barnes 43fbc54778 Improve backlight control
This commit fixes backlight support for several platforms.

Except on recent machines supporting the IGD OpRegion specification,
backlight control is rather platform specific.  In some cases, we can
program the native backlight control regsiters directly without any
trouble.  On others, we need to use the legacy backlight control
register.  On still others, we need a combination of the two.  And on
some platforms, none of the above will work, so we go through the
kernel backlight interface, which provides a platform specific driver
for backlight control.
2007-11-12 12:23:41 -08:00
Jesse Barnes 62404a9c9c Update man page to reflect EXA by default 2007-11-09 07:55:53 -08:00
Eric Anholt 0c9e4aeea8 Merge branch 'master' into buffer-objects
Conflicts:

	src/i830_dri.c
	src/i830_memory.c
2007-08-16 11:30:16 -07:00
Jesse Barnes e6746d0f28 Enable tiling by default on 965. 2007-08-10 15:48:15 -04:00
Brice Goglin 0fd3ba0518 Fix typo in intel.man
Reported by A. Costa" <agcosta@gis.net> in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432061
2007-07-25 20:11:32 +02:00
Eric Anholt 18c707a8c1 When TTM is available, use it instead of manual AGP allocations when possible.
This is a step towards being able to expose buffer objects through the screen
private to DRI clients, instead of having them have to use the fake buffer
object type.

This fails in two ways.  First, the kernel memory manager is not currently
suitable for doing the physical allocations we need, so we still use AGP for
those.  Additionally, the DRI lock can't be initialized early enough for us, so
these buffer object allocations fail.  This will be fixed by improving the
DRM interface.
2007-07-25 10:11:16 -07:00
Jesse Barnes b426866fe1 Fix manpage to reflect default behavior. 2007-07-06 20:48:40 -07:00
Jesse Barnes 9c0388dc8d Update man page with current behavior. 2007-07-06 20:38:41 -07:00
Jesse Barnes 8798ef1132 Merge branch 'master' into fbc 2007-07-05 12:21:31 -07:00
Eric Anholt 3c552af65d Update documentation and bump driver version to 2.1.0. 2007-07-02 18:33:47 -07:00