[xen staging] xen/displif: Add unique display connector identifier

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen staging] xen/displif: Add unique display connector identifier

patchbot
commit 12915da5732444c8c891d19773ea1df1858d00bd
Author:     Oleksandr Andrushchenko <[hidden email]>
AuthorDate: Fri Jun 8 09:08:30 2018 +0300
Commit:     Konrad Rzeszutek Wilk <[hidden email]>
CommitDate: Fri Jun 8 10:56:53 2018 -0400

    xen/displif: Add unique display connector identifier
   
    If frontend is configured to expose multiple connectors then backend may
    require a way to uniquely identify concrete virtual connector within the
    frontend. This is useful for use-cases where connector needs to be
    matched to physical display connector.
    Add XenBus "unique-id" node parameter, so this sort of use-cases can
    be implemented.
   
    Signed-off-by: Oleksandr Andrushchenko <[hidden email]>
    Reviewed-by: Konrad Rzeszutek Wilk <[hidden email]>
    Signed-off-by: Konrad Rzeszutek Wilk <[hidden email]>
    Release-acked-by: Juergen Gross <[hidden email]>
---
 xen/include/public/io/displif.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/xen/include/public/io/displif.h b/xen/include/public/io/displif.h
index 8a94f1f9b9..cc5de9cb1f 100644
--- a/xen/include/public/io/displif.h
+++ b/xen/include/public/io/displif.h
@@ -189,6 +189,13 @@
  *
  *----------------------------- Connector settings ----------------------------
  *
+ * unique-id
+ *      Values:         <string>
+ *
+ *      After device instance initialization each connector is assigned a
+ *      unique ID, so it can be identified by the backend by this ID.
+ *      This can be UUID or such.
+ *
  * resolution
  *      Values:         <width, uint32_t>x<height, uint32_t>
  *
@@ -368,6 +375,7 @@
 #define XENDISPL_FIELD_EVT_CHANNEL    "evt-event-channel"
 #define XENDISPL_FIELD_RESOLUTION     "resolution"
 #define XENDISPL_FIELD_BE_ALLOC       "be-alloc"
+#define XENDISPL_FIELD_UNIQUE_ID      "unique-id"
 
 /*
  ******************************************************************************
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog