Module: Mesa
Branch: master
Commit: 612ef74190ca6c4d036e014e5fc228b671513771
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=612ef74190ca6c4d036e014e5fc228b671513771

Author: Connor Abbott <[email protected]>
Date:   Wed Sep  2 16:00:38 2020 +0200

freedreno/computerator: Use a render node

Fixes headless systems.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6562>

---

 src/freedreno/computerator/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to