There might be drivers that don't implement EGL_EXT_device_query or EGL_EXT_device_drm. In those cases could just fallback to get the first render node returned by libdrm.
Pull request: https://github.com/WebKit/WebKit/pull/16227
Committed 266997@main (a6106792d52a): <https://commits.webkit.org/266997@main> Reviewed commits have been landed. Closing PR #16227 and removing active labels.