aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Cercueil <[email protected]>2019-11-11 02:01:52 +0100
committerPaul Cercueil <[email protected]>2019-12-21 18:27:51 +0100
commit2bbf8ebadc2aabc848b4655846237172d3790e9f (patch)
tree2fa469047871c51f68821d9d0f084a53da0f4941
parent4da46a1c3cd3d3bb440b25282f89ada405b87666 (diff)
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 <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]> Reviewed-by: Alyssa Rosenzweig <[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 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)