summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido Günther <[email protected]>2019-07-21 16:20:18 +0200
committerEric Anholt <[email protected]>2019-07-23 17:12:10 +0000
commit85996567f5cfe9bf55d364798a2214422b95591c (patch)
tree4578c271dab0f7621bfd024f780d694dea65422f
parent806e5a37ed820b9d6796df0663809e0e4d2bfebc (diff)
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 <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r--src/gallium/drivers/kmsro/Android.mk1
-rw-r--r--src/gallium/targets/dri/meson.build1
-rw-r--r--src/gallium/targets/dri/target.c1
3 files changed, 3 insertions, 0 deletions
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