[PATCH] dri2proto: add device_requires_auth in xDRI2ConnectReply to support render nodes

martin.peres at free.fr martin.peres at free.fr
Sun Dec 16 18:06:29 PST 2012


From: Martin Peres <martin.peres at labri.fr>

Signed-off-by: Martin Peres <martin.peres at labri.fr>
---
 dri2proto.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dri2proto.h b/dri2proto.h
index 128b807..4d11ba7 100644
--- a/dri2proto.h
+++ b/dri2proto.h
@@ -35,7 +35,7 @@
 
 #define DRI2_NAME			"DRI2"
 #define DRI2_MAJOR			1
-#define DRI2_MINOR			4
+#define DRI2_MINOR			5
 
 #define DRI2NumberErrors		0
 #define DRI2NumberEvents		2
@@ -109,10 +109,12 @@ typedef struct {
     CARD32  length B32;
     CARD32  driverNameLength B32;
     CARD32  deviceNameLength B32;
-    CARD32  pad2 B32;
-    CARD32  pad3 B32;
+    BYTE    deviceRequiresAuth;
+    BYTE    pad2;
+    CARD16  pad3 B16;
     CARD32  pad4 B32;
     CARD32  pad5 B32;
+    CARD32  pad6 B32;
 } xDRI2ConnectReply;
 #define sz_xDRI2ConnectReply	32
 
-- 
1.8.0.1



More information about the dri-devel mailing list