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:
parent
87fa645b94
commit
612ef74190
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue