diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-11-19 10:37:42 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-11-19 10:37:42 +0000 |
commit | 3cdc1780e3fbd789c40487fed4fb2272002784ab (patch) | |
tree | 446148c35725e0b749940fb001f9709eb782da9b /src/sna/sna_accel.c | |
parent | 666f25baf00ac3f04096655c4022ec7a2d17247b (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/sna/sna_accel.c')
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 7d7731b1..7e20715f 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -17985,7 +17985,7 @@ static bool sna_option_accel_none(struct sna *sna) if (wedged(sna)) return true; - if (xf86ReturnOptValBool(sna->Options, OPTION_ACCEL_DISABLE, FALSE)) + if (xf86ReturnOptValBool(sna->Options, OPTION_ACCEL_ENABLE, TRUE)) return true; if (sna->kgem.gen >= 0120) |