Upgrade libkmsxx to a5545df02b40414c2bf3abc60cf629c5f59d00ec
Exempt-From-Owner-Approval: document only change
Test: None
Change-Id: I479809554904a1f9548999300dab35293ccaf175
diff --git a/METADATA b/METADATA
index adc76b4..e098fe8 100644
--- a/METADATA
+++ b/METADATA
@@ -1,9 +1,5 @@
name: "kms++"
-description:
- "libkmsxx is a small C++11 library for kernel mode setting. It tries to "
- "implement as little extra as possible while bringing the kms API in a C++ "
- "form to the user. It only implements a subset of what libdrm supports."
-
+description: "libkmsxx is a small C++11 library for kernel mode setting. It tries to implement as little extra as possible while bringing the kms API in a C++ form to the user. It only implements a subset of what libdrm supports."
third_party {
url {
type: HOMEPAGE
@@ -13,7 +9,11 @@
type: GIT
value: "https://github.com/tomba/kmsxx"
}
- version: "626edbe2fc845803ffdd25936e21202e4f123b63"
- last_upgrade_date { year: 2018 month: 8 day: 15 }
+ version: "a5545df02b40414c2bf3abc60cf629c5f59d00ec"
license_type: RECIPROCAL
+ last_upgrade_date {
+ year: 2019
+ month: 7
+ day: 30
+ }
}
diff --git a/README.md b/README.md
index f0f3b97..feb43d7 100644
--- a/README.md
+++ b/README.md
@@ -88,6 +88,8 @@
--------------------------------- | -------------
KMSXX_DISABLE_UNIVERSAL_PLANES | Set to disable the use of universal planes
KMSXX_DISABLE_ATOMIC | Set to disable the use of atomic modesetting
+KMSXX_DEVICE | Path to the card device node to use
+KMSXX_DRIVER | Name of the driver to use. The format is either "drvname" or "drvname:idx"
## Python notes
diff --git a/utils/kmsprint.cpp b/utils/kmsprint.cpp
index 9f550c7..116fead 100644
--- a/utils/kmsprint.cpp
+++ b/utils/kmsprint.cpp
@@ -484,10 +484,11 @@
static const char* usage_str =
"Usage: kmsprint [OPTIONS]\n\n"
"Options:\n"
- " -l, --list Print list instead of tree\n"
- " -m, --modes Print modes\n"
- " --xmode Print modes using X modeline\n"
- " -p, --props Print properties\n"
+ " --device=DEVICE DEVICE is the path to DRM card to open\n"
+ " -l, --list Print list instead of tree\n"
+ " -m, --modes Print modes\n"
+ " --xmode Print modes using X modeline\n"
+ " -p, --props Print properties\n"
;
static void usage()