freedreno/computerator: Use a render node

Fixes headless systems.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6562>
This commit is contained in:
Connor Abbott 2020-09-02 16:00:38 +02:00 committed by Marge Bot
parent 87fa645b94
commit 612ef74190

View file

@ -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");