Displaying 3 results from an estimated 3 matches for "backlight_deprecated_nam".
Did you mean:
backlight_deprecated_name
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
...e.h"
#include "xf86drmMode.h"
-#include "X11/Xatom.h"
+#include <X11/Xatom.h>
+#include <fcntl.h>
#include <sys/ioctl.h>
#ifdef HAVE_LIBUDEV
#include "libudev.h"
#endif
+
+#define BACKLIGHT_NAME "Backlight"
+#define BACKLIGHT_DEPRECATED_NAME "BACKLIGHT"
+#define BACKLIGHT_CLASS "/sys/class/backlight"
+
+/* List of available kernel interfaces in priority order */
+static char *backlight_interfaces[] = {
+ "nv_backlight",
+ NULL,
+};
+/* Must be long enough for BACKLIGHT_CLASS + '/' + longes...
2013 Jun 06
0
[PATCH 2/2] nouveau: add libbacklight and randr property support.
...ndif
} drmmode_output_private_rec, *drmmode_output_private_ptr;
typedef struct {
@@ -99,6 +108,13 @@ typedef struct {
Bool dispatch_me;
} drmmode_flipevtcarrier_rec, *drmmode_flipevtcarrier_ptr;
+#ifdef HAVE_LIBBACKLIGHT
+#define BACKLIGHT_NAME "Backlight"
+#define BACKLIGHT_DEPRECATED_NAME "BACKLIGHT"
+
+static Atom backlight_atom, backlight_deprecated_atom;
+#endif
+
static void drmmode_output_dpms(xf86OutputPtr output, int mode);
static drmmode_ptr
@@ -717,6 +733,9 @@ drmmode_output_destroy(xf86OutputPtr output)
drmModeFreeProperty(drmmode_output->props[i].mod...
2013 Jun 06
1
[PATCH 1/2] nouveau/mode: split out create_ranged_atom
From: Dave Airlie <airlied at redhat.com>
This is preperation for the backlight support code.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/drmmode_display.c | 54 ++++++++++++++++++++++++++++++++-------------------
1 file changed, 34 insertions(+), 20 deletions(-)
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 6033a6d..ad7bc1f 100644
---