From 2bbf8ebadc2aabc848b4655846237172d3790e9f Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Mon, 11 Nov 2019 02:01:52 +0100 Subject: [PATCH] kmsro: Extend to include ingenic-drm This enables Mesa to work with Ingenic SoCs through the use of the ingenic-drm modesetting driver along with the render-only drivers, such as Etnaviv on the JZ4770 SoC. Signed-off-by: Paul Cercueil Reviewed-by: Christian Gmeiner Reviewed-by: Alyssa Rosenzweig --- 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 d17125e906a..7c39f97b81b 100644 --- a/src/gallium/drivers/kmsro/Android.mk +++ b/src/gallium/drivers/kmsro/Android.mk @@ -40,6 +40,7 @@ GALLIUM_TARGET_DRIVERS += hx8357d GALLIUM_TARGET_DRIVERS += ili9225 GALLIUM_TARGET_DRIVERS += ili9341 GALLIUM_TARGET_DRIVERS += imx +GALLIUM_TARGET_DRIVERS += ingenic-drm GALLIUM_TARGET_DRIVERS += stm GALLIUM_TARGET_DRIVERS += mcde GALLIUM_TARGET_DRIVERS += mi0283qt diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index ac475811522..f4645cfdcd7 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', + 'ingenic-drm_dri.so', 'mcde_dri.so', 'meson_dri.so', 'mi0283qt_dri.so', diff --git a/src/gallium/targets/dri/target.c b/src/gallium/targets/dri/target.c index e5579eda179..f71f690a70e 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(ingenic_drm) DEFINE_LOADER_DRM_ENTRYPOINT(mcde) DEFINE_LOADER_DRM_ENTRYPOINT(meson) DEFINE_LOADER_DRM_ENTRYPOINT(mi0283qt) -- 2.30.2