summaryrefslogtreecommitdiff
path: root/src/uxa
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-11-19 10:37:42 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2015-11-19 10:37:42 +0000
commit3cdc1780e3fbd789c40487fed4fb2272002784ab (patch)
tree446148c35725e0b749940fb001f9709eb782da9b /src/uxa
parent666f25baf00ac3f04096655c4022ec7a2d17247b (diff)
Rename Option "NoAccel" to "Accel"
Totally cribbed from xf86-video-amdgpu/-radeon: commit 560b7fe6dc66405762020f00e9a05918a36f3a17 Author: Michel Dänzer <michel.daenzer@amd.com> Date: Wed Nov 11 17:31:34 2015 +0900 Rename Option "NoAccel" to "Accel" Renaming the option removes the need for a double negation when forcing acceleration on and is backwards compatible as the option parser automagically handles the 'No' prefix. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/uxa')
-rw-r--r--src/uxa/intel_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c
index 8e685bd6..70bce84e 100644
--- a/src/uxa/intel_driver.c
+++ b/src/uxa/intel_driver.c
@@ -364,7 +364,7 @@ static Bool can_accelerate_blt(struct intel_screen_private *intel)
if (INTEL_INFO(intel)->gen == -1)
return FALSE;
- if (xf86ReturnOptValBool(intel->Options, OPTION_ACCEL_DISABLE, FALSE) ||
+ if (xf86ReturnOptValBool(intel->Options, OPTION_ACCEL_ENABLE, TRUE) ||
!intel_option_cast_to_bool(intel->Options, OPTION_ACCEL_METHOD, TRUE)) {
xf86DrvMsg(intel->scrn->scrnIndex, X_CONFIG,
"Disabling hardware acceleration.\n");