summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephan Gerhold <[email protected]>2019-11-04 22:48:49 +0100
committerMarge Bot <[email protected]>2019-12-21 16:43:35 +0000
commit4da46a1c3cd3d3bb440b25282f89ada405b87666 (patch)
tree5562bf8bb11b71def4e06c2244a9b1c67574fd7f /src
parentafe1a8ff5b94b33f150a01d398018e88c7b77a7e (diff)
kmsro: Add "mcde" entry point
ST-Ericsson Ux500 boards use a Mali 400 GPU together with MCDE ("Multi Channel Display Engine"), which is supported by the "mcde" DRM driver. Adding an entry point for it in kmsro seems to be enough to make Lima work - at least kmscube is working correctly. Reviewed-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3139> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3139>
Diffstat (limited to 'src')
-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 2f637b8bf7a..d17125e906a 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 += stm
+GALLIUM_TARGET_DRIVERS += mcde
GALLIUM_TARGET_DRIVERS += mi0283qt
GALLIUM_TARGET_DRIVERS += mxsfb-drm
GALLIUM_TARGET_DRIVERS += pl111
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 2cfed55d2a7..ac475811522 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -73,6 +73,7 @@ foreach d : [[with_gallium_kmsro, [
'ili9225_dri.so',
'ili9341_dri.so',
'imx-drm_dri.so',
+ 'mcde_dri.so',
'meson_dri.so',
'mi0283qt_dri.so',
'mxsfb-drm_dri.so',
diff --git a/src/gallium/targets/dri/target.c b/src/gallium/targets/dri/target.c
index 1295823e4f5..e5579eda179 100644
--- a/src/gallium/targets/dri/target.c
+++ b/src/gallium/targets/dri/target.c
@@ -98,6 +98,7 @@ DEFINE_LOADER_DRM_ENTRYPOINT(hx8357d)
DEFINE_LOADER_DRM_ENTRYPOINT(ili9225)
DEFINE_LOADER_DRM_ENTRYPOINT(ili9341)
DEFINE_LOADER_DRM_ENTRYPOINT(imx_drm)
+DEFINE_LOADER_DRM_ENTRYPOINT(mcde)
DEFINE_LOADER_DRM_ENTRYPOINT(meson)
DEFINE_LOADER_DRM_ENTRYPOINT(mi0283qt)
DEFINE_LOADER_DRM_ENTRYPOINT(mxsfb_drm)