diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-26 19:47:31 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-26 19:47:31 +0100 |
commit | 414e87255cdee6eb556703ddefd194af71b985ed (patch) | |
tree | 2d1091c69a8bb3e69a7ddb8d981b705a121dfdee /src/intel_options.c | |
parent | d4f7c58186849374cd929e20fa49ea2e93939a69 (diff) |
Add Option "Backlight" to override the probed backlight control interface
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>
Diffstat (limited to 'src/intel_options.c')
-rw-r--r-- | src/intel_options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel_options.c b/src/intel_options.c index 7dbbc7ed..dcab9e72 100644 --- a/src/intel_options.c +++ b/src/intel_options.c @@ -7,6 +7,7 @@ const OptionInfoRec intel_options[] = { {OPTION_ACCEL_DISABLE, "NoAccel", OPTV_BOOLEAN, {0}, 0}, {OPTION_ACCEL_METHOD, "AccelMethod", OPTV_STRING, {0}, 0}, + {OPTION_BACKLIGHT, "Backlight", OPTV_STRING, {0}, 0}, {OPTION_DRI, "DRI", OPTV_BOOLEAN, {0}, 1}, {OPTION_COLOR_KEY, "ColorKey", OPTV_INTEGER, {0}, 0}, {OPTION_VIDEO_KEY, "VideoKey", OPTV_INTEGER, {0}, 0}, |