summaryrefslogtreecommitdiff
path: root/src/intel_options.h
AgeCommit message (Collapse)Author
2015-01-31Unify Option "DRI" parsingChris Wilson
Allow Option "DRI" "[23]" to also work with UXA. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-02intel: Add common routines and configure probing for DRI3Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-05-08sna: Add an xorg.conf option for removing unused outputsChris Wilson
Clients are not yet ready for outputs that disappear at runtime, often unexpectedly dieing with asynchronous BadOutput errors. A simple workaround is to not remove any output just yet - but allow users to opt in via xorg.conf, i.e. Section "Device" Option "DeleteUnusedDP12Displays" "true" EndSection The name chosen is to be consistent with the nvidia driver, which did MST first and encountered all of these issues first, and has also been adopted for -modesetting. If this is combined with persistent output naming (i.e. based on DisplayPort branch topology), the number of outputs presented to the user should be static. Instead of removing the outputs, we have to mark them detached instead to avoid throwing errors from the kernel. Based on the patch for -modesetting by Dave Airlie. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-19intel: Fix includes for intel_optionsChris Wilson
In commit dcf9b5ae1889926007cf8a0efd127e9df3c909de Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Sep 17 22:27:45 2013 +0100 intel: Compile fixes for base install of SLED11.sp3 the includes were juggled around to avoid pulling in xorg-server.h outside of the driver. However, missing xorg-server.h leads to subtle bugs in the layout of structures, in this case breaking xf86Options. Reported-by: FBrown <francisbrwn9@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69555 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-17intel: Make the option to control VSync and PageFlip explictChris Wilson
Too often our implementation of vsync or pageflip is buggy, or for some other reason it is desired by the user to disable those code paths. Make it possible once again by restoring the Options for the user to control. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-30sna: Allow user specification of number of VirtualHeadsChris Wilson
Previously, we instantiated a fake output in case we had a machine with no output. (For certain server-class products.) The Bumblee project were also doing something very similar in order to fake an extended desktop on the Intel igfx and copy portions onto a discrete GPU. (The preferred method for doing this upstream is through the use of PRIME). As the code is very similar, we can support both use-cases simultaneously. This adds the option: Section "Device" Driver "intel" Option "VirtualHeads" "<count>" EndSection to allow the user to specify an additional set of fake outputs, which can then be controlled using xrandr. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-03intel: Add an option for forced rediscovery of output status on startupChris Wilson
Specifying Section "Device" Option "ReprobeOutputs" "true" EndSection will restore the old behaviour of scanning each output on startup and picking a spanning mode. The behaviour was changed in commit 8a6a21bff86100144ba7960fc32a299ac54ada83 [2.21.11] Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Jun 26 13:29:48 2013 +0100 sna: Use the existing configuration for initial modes Please do notify us of any circumstances that force you to use this flag. References: https://bugs.freedesktop.org/show_bug.cgi?id=66494 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-03intel: Retire Option "RelaxedFencing"Chris Wilson
The kernel bugs have long since been fixed and should have been propagated to all stable kernels long ago. Now there should be no need to workaround those bugs. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-01-01sna: Remove some obsolete OptionsChris Wilson
Throttling and delayed-flush are now redundant. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-12-15sna/dri: Honour TripleBuffer OptionChris Wilson
In case anyone ever wants to disable the default. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-09-23Reorder INTEL_XVMC define so that we pick up Option "XvMC"Chris Wilson
Otherwise it will remain disabled. Reported-by: Giacomo Comes <comes@naic.edu> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-08-26Add Option "Backlight" to override the probed backlight control interfaceChris Wilson
The automatic selection may not correspond with the correct backlight (such as in a multi-gpu, multi-panel device) or the user may simply prefer another control interface. This allows them to override the chosen interface using Option "Backlight" "my-backlight" to specify '/sys/class/backlight/my-backlight' as the interface to use instead. Suggested-by: Alon Levy <alevy@redhat.com> References: https://bugs.freedesktop.org/show_bug.cgi?id=29273 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-07-29Don't disable acceleration on 830/845g by defaultChris Wilson
Run the risk of a GPU hang (it shouldn't endanger the entire machine normally) and let the user elect to disable it through Option "NoAccel" "true" Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-07-15uxa: Remove Shadow hackChris Wilson
This was an incomplete hack so deprecate in favour of Shadow-on-Steriods, SNA. References: https://bugs.freedesktop.org/show_bug.cgi?id=47324 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-07-05sna: Fallback to attaching a shadow fb if we fail to setup the crtcChris Wilson
As we've chosen to fix the kernel to handle CRTC offsets > 4096, drop the automatic workaround. However, allow the user to force creation of PerCrtcPixmaps for the purpose of debugging (and to workaround the bug in older kernels) and to fallback to trying a shadow fb if the setcrtc fails with the composite fb. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-06-23sna: extend RandR to support super sized monitor configurationsChris Wilson
With the introduction of the third pipe on IvyBridge it is possible to encounter situations where the combination of the three monitors exceed the limits of the scanout engine and so prevent them being used at their native resolutions. (It is conceivable to hit similar issues on earlier generation, especially gen2/3.) One workaround, this patch, is to extend the RandR shadow support to break the extended framebuffer into per-crtc pixmaps. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-06-08sna: Remove option to disable vmapChris Wilson
It works everywhere, so when it is finally enabled, let it be. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-06-08Make the enum list of options consistent with the actual table.Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-05-25Only create a single instance of the intel_options arrayChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-05-24Allow runtime switching of AccelMethod between uxa/sna and even glamorChris Wilson
Section "Device" Option "AccelMethod" "uxa/glamor/sna" EndSection The appropriate backend must also be enabled at compile time for the runtime option to be available (i.e. --enable-uxa (default) --enable-sna --enable-glamor) Demanded-by: Adam Jackson <ajax@redhat.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50290 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2012-05-24Unify options handling between UXA and SNAEugeni Dodonov
Unifies available options for both UXA and SNA drivers, and moves them into a common header file, intel_opts.h. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>