From: Guido Günther Date: Sun, 21 Jul 2019 14:20:18 +0000 (+0200) Subject: kmsro: Extend to include mxsfb-drm X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85996567f5cfe9bf55d364798a2214422b95591c;p=mesa.git kmsro: Extend to include mxsfb-drm 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 Reviewed-by: Eric Anholt --- diff --git a/src/gallium/drivers/kmsro/Android.mk b/src/gallium/drivers/kmsro/Android.mk index 4189c9bd6ec..eccf36c54eb 100644 --- a/src/gallium/drivers/kmsro/Android.mk +++ b/src/gallium/drivers/kmsro/Android.mk @@ -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 diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index 2f648398f46..957a7cb7a1b 100644 --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -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', diff --git a/src/gallium/targets/dri/target.c b/src/gallium/targets/dri/target.c index bae2f1ed002..64779fc25cc 100644 --- a/src/gallium/targets/dri/target.c +++ b/src/gallium/targets/dri/target.c @@ -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