From 85996567f5cfe9bf55d364798a2214422b95591c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20G=C3=BCnther?= Date: Sun, 21 Jul 2019 16:20:18 +0200 Subject: [PATCH] kmsro: Extend to include mxsfb-drm MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/gallium/drivers/kmsro/Android.mk | 1 + src/gallium/targets/dri/meson.build | 1 + src/gallium/targets/dri/target.c | 1 + 3 files changed, 3 insertions(+) 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 -- 2.30.2