OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29bb4c6
)
modetest: universal plane support
author
Rob Clark
<robclark@freedesktop.org>
Mon, 24 Nov 2014 18:43:10 +0000
(13:43 -0500)
committer
Rob Clark
<robclark@freedesktop.org>
Mon, 24 Nov 2014 18:43:10 +0000
(13:43 -0500)
Minimal support, so we can at least dump properties of primary/cursor
planes.
Signed-off-by: Rob Clark <robclark@freedesktop.org>
tests/modetest/modetest.c
patch
|
blob
|
history
diff --git
a/tests/modetest/modetest.c
b/tests/modetest/modetest.c
index
6d06e3f
..
ac3c9e3
100644
(file)
--- a/
tests/modetest/modetest.c
+++ b/
tests/modetest/modetest.c
@@
-545,6
+545,8
@@
static struct resources *get_resources(struct device *dev)
memset(res, 0, sizeof *res);
+ drmSetClientCap(dev->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1);
+
res->res = drmModeGetResources(dev->fd);
if (!res->res) {
fprintf(stderr, "drmModeGetResources failed: %s\n",