From 414e87255cdee6eb556703ddefd194af71b985ed Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 26 Aug 2012 19:47:31 +0100 Subject: 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 References: https://bugs.freedesktop.org/show_bug.cgi?id=29273 Signed-off-by: Chris Wilson --- src/intel_options.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/intel_options.c') 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}, -- cgit v1.2.3