configs/engicam_imx6qdl_icore_qt5: Select the KMSRO gallium driver
Fabio Estevam
reviewerPATCH 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
@@ -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
Fabio Estevam
reviewerPATCH 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
@@ -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
PATCH 1/2 configs/engicam_imx6qdl_icore_qt5: Select the KMSRO gallium driver
In reply to Fabio EstevamQuoted 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_KMSROto fix the problem.Signed-off-by Fabio Estevam <[email protected]>--- 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