modetest: universal plane support
Minimal support, so we can at least dump properties of primary/cursor planes. Signed-off-by: Rob Clark <robclark@freedesktop.org>main
parent
29bb4c6911
commit
1fec623b02
|
@ -545,6 +545,8 @@ static struct resources *get_resources(struct device *dev)
|
||||||
|
|
||||||
memset(res, 0, sizeof *res);
|
memset(res, 0, sizeof *res);
|
||||||
|
|
||||||
|
drmSetClientCap(dev->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1);
|
||||||
|
|
||||||
res->res = drmModeGetResources(dev->fd);
|
res->res = drmModeGetResources(dev->fd);
|
||||||
if (!res->res) {
|
if (!res->res) {
|
||||||
fprintf(stderr, "drmModeGetResources failed: %s\n",
|
fprintf(stderr, "drmModeGetResources failed: %s\n",
|
||||||
|
|
Loading…
Reference in New Issue