xf86drm: fix identification of drm node type in virtual environment
Due to user settings, the file names of nodes in the virtual environment (Docker, LXC/LXD, etc.) and in the host may not match.
Allow libdrm to fallback to the old behavior for compatibility.
Fixes: 3bc3cca2
Signed-off-by: nyanmisaka nst799610810@gmail.com
The regression was introduced in tag libdrm-2.4.116.
Downstream issue: