From 4da46a1c3cd3d3bb440b25282f89ada405b87666 Mon Sep 17 00:00:00 2001 From: Stephan Gerhold Date: Mon, 4 Nov 2019 22:48:49 +0100 Subject: [PATCH] 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 Reviewed-by: Linus Walleij Tested-by: Marge Bot Part-of: --- 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 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) -- 2.30.2