[PATCH] Add Backlight property description.

Matthias Hopf mhopf at suse.de
Tue Aug 18 03:08:25 PDT 2009


---
 randr.h        |    1 +
 randrproto.txt |   16 ++++++++++++++++
 2 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/randr.h b/randr.h
index c624d96..1ee95f9 100644
--- a/randr.h
+++ b/randr.h
@@ -151,6 +151,7 @@ typedef unsigned long	XRandrModeFlags;
 
 /* Conventional RandR output properties */
 
+#define RR_PROPERTY_BACKLIGHT		"Backlight"
 #define RR_PROPERTY_RANDR_EDID		"EDID"
 #define RR_PROPERTY_SIGNAL_FORMAT	"SignalFormat"
 #define RR_PROPERTY_SIGNAL_PROPERTIES	"SignalProperties"
diff --git a/randrproto.txt b/randrproto.txt
index a70b8bd..8aacfb4 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -1401,6 +1401,16 @@ doesn't handle a mandatory property correctly.
 
 9.1 Known properties
 
+    "Backlight"			aka RR_PROPERTY_BACKLIGHT
+	Type:			int32
+	Flags:			-
+	Range/List:		0-x (driver specific)
+
+	This property controls the brightness on laptop panels and equivalent
+	displays with a backlight controller. The driver specific maximum
+	value MUST turn the backlight to full brightness, 1 SHOULD turn the
+	backlight to minimum brightness, 0 SHOULD turn the backlight off.
+
     "CloneList"			aka RR_PROPERTY_CLONE_LIST
 	Type:			int32 [2*n] / Atom pairs
 	Flags:			Immutable
@@ -1542,6 +1552,12 @@ ConnectorType			yes: static	RandR 1.3
 SignalFormat			no		RandR 1.3
 SignalProperties		no		not mandatory
 
+9.4 Properties introduced with version 1.4 of the RandR extension
+
+Property			Immutable	Mandatory since
+────────			─────────	───────────────
+Backlight			no		not mandatory
+
                               ❧❧❧❧❧❧❧❧❧❧❧
 
 10. Extension Versioning
-- 
1.6.0.2


_______________________________________________
Intel-gfx mailing list
Intel-gfx at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx



More information about the xorg-devel mailing list