diff options
author | Ahmad Fatoum <[email protected]> | 2019-07-11 17:13:36 +0200 |
---|---|---|
committer | Lucas Stach <[email protected]> | 2019-08-05 14:53:31 +0000 |
commit | 4f75ea57c21bdd4100bb8a17d4823eb32f286483 (patch) | |
tree | 3f8cf1e566079fdadfeb75ed81d2eb2116a2de7e | |
parent | c251e2e66257a7023c8e07469bbdee3061d299a0 (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]>
-rw-r--r-- | src/gallium/drivers/kmsro/Android.mk | 1 | ||||
-rw-r--r-- | src/gallium/targets/dri/meson.build | 1 | ||||
-rw-r--r-- | src/gallium/targets/dri/target.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/kmsro/Android.mk b/src/gallium/drivers/kmsro/Android.mk index eccf36c54eb..2f637b8bf7a 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 += stm GALLIUM_TARGET_DRIVERS += mi0283qt GALLIUM_TARGET_DRIVERS += mxsfb-drm GALLIUM_TARGET_DRIVERS += pl111 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 |