Displaying 1 result from an estimated 1 matches for "backlight_rang".
Did you mean:
backlight_range
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
..._dpms_backlight(output, drmmode_output->dpms_mode, mode);
+ drmmode_output->dpms_mode = mode;
}
static Bool
@@ -711,6 +887,48 @@ drmmode_output_create_resources(xf86OutputPtr output)
if (!drmmode_output->props)
return;
+ if (drmmode_output->backlight_iface) {
+ int32_t data, backlight_range[2];
+
+ backlight_range[0] = 0;
+ backlight_range[1] = drmmode_output->backlight_max;
+ err = RRConfigureOutputProperty(output->randr_output,
+ drmmode->backlight_atom,
+ FALSE, TRUE, FALSE, 2...