Skip to content

winsys/radeon: switch to rendernode when card node doesn't work

Mike Blumenkrantz requested to merge zmike/mesa:radeon-rendernode into main

initializing the winsys from a /dev/dri/cardX node (as discovered by gbm) doesn't work, as the kernel abi expects a render node

thus, the winsys needs to open the card's rendernode and use that everywhere except when importing buffers, where it has to explicitly export from the card node and import to the rendernode

this fixes egl init with DRIL

Merge request reports

Loading