From 1fec623b029747fa811fab9b52effd8993fc605b Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 24 Nov 2014 13:43:10 -0500 Subject: [PATCH] modetest: universal plane support Minimal support, so we can at least dump properties of primary/cursor planes. Signed-off-by: Rob Clark --- tests/modetest/modetest.c | 2 ++ 1 file changed, 2 insertions(+) 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",