diff mbox series

[RESEND] configs/imx6-sabresd_qt5: Select the KMSRO gallium driver

Message ID 20191019193059.21532-1-festevam@gmail.com
State Accepted
Headers show
Series [RESEND] configs/imx6-sabresd_qt5: Select the KMSRO gallium driver | expand

Commit Message

Fabio Estevam Oct. 19, 2019, 7:30 p.m. UTC
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.

Suggested-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---

 configs/imx6-sabresd_qt5_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Arnout Vandecappelle Oct. 19, 2019, 8:27 p.m. UTC | #1
On 19/10/2019 21:30, Fabio Estevam 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.
> 
> Suggested-by: Peter Seiderer <ps.report@gmx.net>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

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

 Regards,
 Arnout

> ---
> 
>  configs/imx6-sabresd_qt5_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configs/imx6-sabresd_qt5_defconfig b/configs/imx6-sabresd_qt5_defconfig
> index a2925bd056..887e53dc21 100644
> --- a/configs/imx6-sabresd_qt5_defconfig
> +++ b/configs/imx6-sabresd_qt5_defconfig
> @@ -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
>  
>
Fabio Estevam Oct. 19, 2019, 8:51 p.m. UTC | #2
Hi Arnout,

On Sat, Oct 19, 2019 at 5:27 PM Arnout Vandecappelle <arnout@mind.be> wrote:

>  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
diff mbox series

Patch

diff --git a/configs/imx6-sabresd_qt5_defconfig b/configs/imx6-sabresd_qt5_defconfig
index a2925bd056..887e53dc21 100644
--- a/configs/imx6-sabresd_qt5_defconfig
+++ b/configs/imx6-sabresd_qt5_defconfig
@@ -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