kmsro: Extend to include ingenic-drm
authorPaul Cercueil <paul@crapouillou.net>
Mon, 11 Nov 2019 01:01:52 +0000 (02:01 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Sat, 21 Dec 2019 17:27:51 +0000 (18:27 +0100)
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 <paul@crapouillou.net>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/kmsro/Android.mk
src/gallium/targets/dri/meson.build
src/gallium/targets/dri/target.c

index d17125e906ac70ea125cc9ff0d8e3fb166a430f9..7c39f97b81b89ec7dc86d930d715206074b22fe3 100644 (file)
@@ -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
index ac4758115225e5c8f5c18048f359675f4a53046e..f4645cfdcd78d84536cf135db56126d64747b6d3 100644 (file)
@@ -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',
index e5579eda1797228326fdca2e2ff66283f9161696..f71f690a70e615adfdf7e5a502afb9025a5c32cf 100644 (file)
@@ -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)