From: Connor Abbott Date: Wed, 2 Sep 2020 14:00:38 +0000 (+0200) Subject: freedreno/computerator: Use a render node X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=612ef74190ca6c4d036e014e5fc228b671513771;p=mesa.git freedreno/computerator: Use a render node Fixes headless systems. Part-of: --- diff --git a/src/freedreno/computerator/main.c b/src/freedreno/computerator/main.c index 5224bf0cf9a..8e60c17279d 100644 --- a/src/freedreno/computerator/main.c +++ b/src/freedreno/computerator/main.c @@ -238,7 +238,7 @@ main(int argc, char **argv) } } - int fd = drmOpen("msm", NULL); + int fd = drmOpenWithType("msm", NULL, DRM_NODE_RENDER); if (fd < 0) err(1, "could not open drm device");