summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/modetest/modetest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index 6d06e3fa..ac3c9e3d 100644
--- 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",