Skip to content

render: replace wlr_renderer_get_drm_fd() with drm_dev_id

Simon Ser requested to merge emersion/wlroots:renderer-drm-devid into master

wlr_renderer_get_drm_fd() forces the renderer to open the DRM node and keep the FD around for no good reason. Instead, use dev_t to refer to a DRM device.

This also removes footguns related to FD ownership.

Merge request reports