Skip to content

drm-shim: Add primary node support

Lucas Cunha requested to merge lcagustini/mesa:drm-shim-primary-node into main

What does this MR do and why?

drm-shim: Add primary node support

Currently only the more commonly used render node is listed on the fake /dev/dri directoy and returns a valid file descriptor. This mirrors that functionality over to the primary node so applications that assert for it can run under the drm-shim with no modifications, as the primary node is expected to always exist.

Closes: #9924

Edited by Lucas Cunha

Merge request reports

Loading