--- Begin Message ---
I'd like to document the Backlight property as a known good property.
Comments?

Matthias

-- 
Matthias Hopf <[email protected]>,  SuSE R&D,  Zimmer 2.2.6,  Tel. 74053-715

>From 993dbda7b42caed7480dcff0eca4f9af9c1163ba Mon Sep 17 00:00:00 2001
From: Matthias Hopf <[email protected]>
Date: Tue, 18 Aug 2009 12:08:25 +0200
Subject: [PATCH] Add Backlight property description.

---
 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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


--- End Message ---
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to