Skip to contentSkip to conversation

configs/imx6-sabresd_qt5: Select the KMSRO gallium driver

PATCH RESEND Superseded Fabio Estevam 2 participants 3 messages Oct 19, 2019 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH RESEND 1/1 configs/imx6-sabresd_qt5: Select the KMSRO gallium driver

After migrating to Mesa 19.2 the imx-drm_dri.so is no longer installed unless the kmsro gallium driver is selected, so explicitly select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO to fix the problem.

---

 configs/imx6-sabresd_qt5_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/imx6-sabresd_qt5_defconfig +1 -0
index a2925bd056..887e53dc21 100644
@@ -48,6 +48,7 @@ BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 # GL driver
 BR2_PACKAGE_MESA3D=y
 BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y
+BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO=y
 BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y
 BR2_PACKAGE_MESA3D_OPENGL_ES=y
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH RESEND 1/1 configs/imx6-sabresd_qt5: Select the KMSRO gallium driver

Quoted 6 lines · Fabio Estevam

After migrating to Mesa 19.2 the imx-drm_dri.so is no longer installed unless the kmsro gallium driver is selected, so explicitly select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO to fix the problem.

I still find it weird that it's necessary to select 3 different drivers... But
OK. Applied to master, thanks.

Regards,
Arnout

Quoted 18 lines

---

 configs/imx6-sabresd_qt5_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/imx6-sabresd_qt5_defconfig +1 -0
index a2925bd056..887e53dc21 100644
@@ -48,6 +48,7 @@ BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 # GL driver
 BR2_PACKAGE_MESA3D=y
 BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y
+BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO=y
 BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y
 BR2_PACKAGE_MESA3D_OPENGL_ES=y
 
author reviewer
#2 lore raw

PATCH RESEND 1/1 configs/imx6-sabresd_qt5: Select the KMSRO gallium driver

Hi Arnout,

Quoted 2 lines · Arnout Vandecappelle

I still find it weird that it's necessary to select 3 different drivers... But
OK. Applied to master, thanks.

I will send a patch removing BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST as per Thomas' feedback.

Thanks