kmsro: Extend to include mxsfb-drm
authorGuido Günther <agx@sigxcpu.org>
Sun, 21 Jul 2019 14:20:18 +0000 (16:20 +0200)
committerEric Anholt <eric@anholt.net>
Tue, 23 Jul 2019 17:12:10 +0000 (17:12 +0000)
This allows using the LCDIF display controllers (with the mxsfb drm
modesetting driver) along with the Etnaviv render-only drivers. LCDIF is
found on i.MX SoCs.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/kmsro/Android.mk
src/gallium/targets/dri/meson.build
src/gallium/targets/dri/target.c

index 4189c9b..eccf36c 100644 (file)
@@ -41,6 +41,7 @@ GALLIUM_TARGET_DRIVERS += ili9225
 GALLIUM_TARGET_DRIVERS += ili9341
 GALLIUM_TARGET_DRIVERS += imx
 GALLIUM_TARGET_DRIVERS += mi0283qt
+GALLIUM_TARGET_DRIVERS += mxsfb-drm
 GALLIUM_TARGET_DRIVERS += pl111
 GALLIUM_TARGET_DRIVERS += repaper
 GALLIUM_TARGET_DRIVERS += st7586
index 2f64839..957a7cb 100644 (file)
@@ -75,6 +75,7 @@ foreach d : [[with_gallium_kmsro, [
                'imx-drm_dri.so',
                'meson_dri.so',
                'mi0283qt_dri.so',
+               'mxsfb-drm_dri.so',
                'pl111_dri.so',
                'repaper_dri.so',
                'rockchip_dri.so',
index bae2f1e..64779fc 100644 (file)
@@ -86,6 +86,7 @@ DEFINE_LOADER_DRM_ENTRYPOINT(panfrost)
 #if defined(GALLIUM_ETNAVIV)
 DEFINE_LOADER_DRM_ENTRYPOINT(armada_drm)
 DEFINE_LOADER_DRM_ENTRYPOINT(imx_drm)
+DEFINE_LOADER_DRM_ENTRYPOINT(mxsfb_drm)
 DEFINE_LOADER_DRM_ENTRYPOINT(etnaviv)
 #endif