Displaying 1 result from an estimated 1 matches for "backlight_path_len".
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
...t"
+
+/* List of available kernel interfaces in priority order */
+static char *backlight_interfaces[] = {
+ "nv_backlight",
+ NULL,
+};
+/* Must be long enough for BACKLIGHT_CLASS + '/' + longest in above table +
+ * '/' + "max_backlight" */
+#define BACKLIGHT_PATH_LEN 48
+/* Enough for 10 digits of backlight + '\n' + '\0' */
+#define BACKLIGHT_VALUE_LEN 12
+
typedef struct {
int fd;
uint32_t fb_id;
@@ -51,6 +68,7 @@ typedef struct {
struct udev_monitor *uevent_monitor;
InputHandlerProc uevent_handler;
#endif
+ Atom backli...