aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2019-07-11 17:13:36 +0200
committerLucas Stach <[email protected]>2019-08-05 14:53:31 +0000
commit4f75ea57c21bdd4100bb8a17d4823eb32f286483 (patch)
tree3f8cf1e566079fdadfeb75ed81d2eb2116a2de7e /src/gallium/targets/dri
parentc251e2e66257a7023c8e07469bbdee3061d299a0 (diff)
gallium: add stm DRM entry point
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 <[email protected]> Signed-off-by: Lucas Stach <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri')
-rw-r--r--src/gallium/targets/dri/meson.build1
-rw-r--r--src/gallium/targets/dri/target.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 957a7cb7a1b..04c4af78376 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -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'],
diff --git a/src/gallium/targets/dri/target.c b/src/gallium/targets/dri/target.c
index c46b40f6a5a..43af7d8ddbf 100644
--- a/src/gallium/targets/dri/target.c
+++ b/src/gallium/targets/dri/target.c
@@ -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