summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2012-06-12 12:32:19 -0700
committerAaron Plattner <aplattner@nvidia.com>2014-01-03 13:37:56 -0800
commit19fc4c5a72eb9919d720ad66734029d9f8e313b1 (patch)
treedde1672389a15a4e7917a49d2224431b39bcea0b
parente7526e6b5fe0966929cda10b2ded0258413744db (diff)
Add a "GUID" property
This property represents the globally-unique identifier of the connected display, if one is available. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Andy Ritger <aritger@nvidia.com>
-rw-r--r--randr.h1
-rw-r--r--randrproto.txt12
2 files changed, 13 insertions, 0 deletions
diff --git a/randr.h b/randr.h
index 33d22fb..3c6721b 100644
--- a/randr.h
+++ b/randr.h
@@ -177,12 +177,13 @@ typedef unsigned long XRandrModeFlags;
#define RR_PROPERTY_CONNECTOR_TYPE "ConnectorType"
#define RR_PROPERTY_CONNECTOR_NUMBER "ConnectorNumber"
#define RR_PROPERTY_COMPATIBILITY_LIST "CompatibilityList"
#define RR_PROPERTY_CLONE_LIST "CloneList"
#define RR_PROPERTY_BORDER "Border"
#define RR_PROPERTY_BORDER_DIMENSIONS "BorderDimensions"
+#define RR_PROPERTY_GUID "GUID"
/* roles this device can carry out */
#define RR_Capability_None 0
#define RR_Capability_SourceOutput 1
#define RR_Capability_SinkOutput 2
#define RR_Capability_SourceOffload 4
diff --git a/randrproto.txt b/randrproto.txt
index 2bf065f..f82407c 100644
--- a/randrproto.txt
+++ b/randrproto.txt
@@ -1954,12 +1954,23 @@ doesn't handle a mandatory property correctly.
0 = no borders are supported
1 = a single border value is applied to all four sides of the image
2 = left/right and top/bottom borders can be specified independently
4 = all four borders can be specified independently
+ "GUID" aka RR_PROPERTY_GUID
+ Type: INTEGER
+ Format: 8
+ Num items: 16
+ Flags: Immutable
+ Range/List: -
+
+ Some display devices, such as DisplayPort 1.2 devices, have globally
+ unique identifiers. When such an identifier is available, this property
+ contains its raw bytes.
+
9.2 Properties introduced with version 1.2 of the RandR extension
Property Immutable Mandatory since
──────── ───────── ───────────────
EDID yes n/a
@@ -1987,12 +1998,13 @@ Backlight no not mandatory
9.5 Properties introduced with version 1.4.0 of the RandR extension
Property Immutable Mandatory since
──────── ───────── ───────────────
Border yes not mandatory
BorderDimensions yes: static not mandatory
+GUID yes not mandatory
❧❧❧❧❧❧❧❧❧❧❧
10. Extension Versioning
The RandR extension was developed in parallel with the implementation