diff options
author | Simon Ser <contact@emersion.fr> | 2021-10-02 17:16:57 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-10-04 12:25:27 +0200 |
commit | 13cdb84ee8df248db3b303fd4d1c0e3e75db2794 (patch) | |
tree | ea446d0c3fd624df96c6bbebb9f84576e1d793f9 /render/swapchain.c | |
parent | ce66244fd2fefed00094d0f1e46fff8e8660c184 (diff) |
render/allocator: use render node if available in reopen_drm_node
If we aren't trying to create a dumb buffer allocator, and if the
DRM device has a render node (ie, not a split render/display SoC),
then we can use the render node instead of the primary node. This
should allow wlroots to run under seatd when the current user
doesn't have the permission to open primary nodes (logind has a
quirk to allow physically logged in users to open primary nodes).
Diffstat (limited to 'render/swapchain.c')
0 files changed, 0 insertions, 0 deletions