From patchwork Tue Aug 18 11:46:59 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matthias Hopf X-Patchwork-Id: 42313 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7IBl3NF026386 for ; Tue, 18 Aug 2009 11:47:03 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AF6419E794; Tue, 18 Aug 2009 04:47:02 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by gabe.freedesktop.org (Postfix) with ESMTP id 7CA339E773 for ; Tue, 18 Aug 2009 04:47:01 -0700 (PDT) Received: from relay1.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 41CB85362F for ; Tue, 18 Aug 2009 13:47:00 +0200 (CEST) Date: Tue, 18 Aug 2009 13:46:59 +0200 From: Matthias Hopf To: xorg-devel@suse.de, intel-gfx@lists.freedesktop.org Message-ID: <20090818114659.GA9824@suse.de> Mail-Followup-To: xorg-devel@suse.de, intel-gfx@lists.freedesktop.org MIME-Version: 1.0 Content-Disposition: inline Organization: SUSE LINUX Products GmbH, =?iso-8859-1?Q?G?= =?iso-8859-1?Q?F=3A_Markus_Rex=2C_HRB_16746_=28AG_N=FCrnberg=29?= User-Agent: Mutt/1.5.17 (2007-11-01) Subject: [Intel-gfx] [PATCH] Description for "Backlight" property in randrproto.txt X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org I'd like to document the Backlight property as a known good property. Comments? Matthias From 993dbda7b42caed7480dcff0eca4f9af9c1163ba Mon Sep 17 00:00:00 2001 From: Matthias Hopf 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