Skip to contentSkip to conversation

configs/engicam_imx6qdl_icore_qt5: Select the KMSRO gallium driver

PATCH New Fabio Estevam 2 participants 3 messages Oct 26, 2019 – Oct 27, 2019 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/2 configs/engicam_imx6qdl_icore_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/engicam_imx6qdl_icore_qt5_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/engicam_imx6qdl_icore_qt5_defconfig +1 -0
index 2da0a65c83..b591c98f23 100644
@@ -61,6 +61,7 @@ BR2_PACKAGE_QT5BASE_JPEG=y
 # mesa3d
 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
author reviewer
#1 lore raw

PATCH 2/2 configs/engicam_imx6qdl_icore_qt5: Remove the swrast option

i.MX6 has GPU in hardware, so we really don't need to fallback to software rendering.

Remove the unneeded BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST option.

---
 configs/engicam_imx6qdl_icore_qt5_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/engicam_imx6qdl_icore_qt5_defconfig +0 -1
index b591c98f23..4d3d4e3a22 100644
@@ -62,7 +62,6 @@ BR2_PACKAGE_QT5BASE_JPEG=y
 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
 
 # qt5 demo packages
Signature · 1 line
2.17.1
#2 lore raw

PATCH 1/2 configs/engicam_imx6qdl_icore_qt5: Select the KMSRO gallium driver

In reply to Fabio Estevam
Quoted 8 lines · On Sat, 26 Oct 2019 16:34:44 -0300 Fabio Estevam <[email protected]> wrote:

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/engicam_imx6qdl_icore_qt5_defconfig | 1 +
 1 file changed, 1 insertion(+)

Both applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com