Skip to content

Fix advertised EGLDevice on kmsro

Simon Ser requested to merge emersion/mesa:fix-software-flag into master

When the GBM platform is initialized with a DRM device which doesn't have a render node, there are two possible outcomes:

  • Either we're on a split render/display SoC. In this case, kmsro will magically open the right render node under the hood. We don't want to advertise EGL_MESA_device_software.
  • Or we fallback to llvmpipe. We want to advertise EGL_MESA_device_software.

The GBM implementation will choose between these two. If software rendering is picked, set a flag in gbm_dri, and pick it up in patform_gbm. We don't need to require a render node in _eglAddDevice anymore.

Closes: #4178 (closed)

cc @evelikov @lynxeye @anholt @daenzer @mripard

Merge request reports