gallium: add stm DRM entry point
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Thu, 11 Jul 2019 15:13:36 +0000 (17:13 +0200)
committerLucas Stach <dev@lynxeye.de>
Mon, 5 Aug 2019 14:53:31 +0000 (14:53 +0000)
The STM32MP157 features a Vivante GC400 GPU supported by etnaviv.
Add a DRM entry point for the STM display controller, so mesa
can be used with it.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
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 eccf36c54eb9a01d04d94f6be44d7cc47f003e36..2f637b8bf7a885bfa47056de158888974ffa55ea 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 += stm
 GALLIUM_TARGET_DRIVERS += mi0283qt
 GALLIUM_TARGET_DRIVERS += mxsfb-drm
 GALLIUM_TARGET_DRIVERS += pl111
index 957a7cb7a1b31e04c7df0e89db62e868f707acf6..04c4af783763b386cfee017a0fe70241d860c54b 100644 (file)
@@ -81,6 +81,7 @@ foreach d : [[with_gallium_kmsro, [
                'rockchip_dri.so',
                'st7586_dri.so',
                'st7735r_dri.so',
+               'stm_dri.so',
               'sun4i-drm_dri.so',
              ]],
              [with_gallium_radeonsi, 'radeonsi_dri.so'],
index c46b40f6a5ac5995ac536390e8733fdd63bd91f0..43af7d8ddbff91b652237844266b3c21bf797619 100644 (file)
@@ -106,6 +106,7 @@ DEFINE_LOADER_DRM_ENTRYPOINT(repaper)
 DEFINE_LOADER_DRM_ENTRYPOINT(rockchip)
 DEFINE_LOADER_DRM_ENTRYPOINT(st7586)
 DEFINE_LOADER_DRM_ENTRYPOINT(st7735r)
+DEFINE_LOADER_DRM_ENTRYPOINT(stm)
 DEFINE_LOADER_DRM_ENTRYPOINT(sun4i_drm)
 #endif