Displaying 1 result from an estimated 1 matches for "backlight_value_len".
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
...ces[] = {
+ "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 backlight_atom, backlight_deprecated_atom;
} drmmode_rec, *drmmode_ptr;
typedef struct {
@@ -81,6 +99,10...