From 4f75ea57c21bdd4100bb8a17d4823eb32f286483 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Thu, 11 Jul 2019 17:13:36 +0200 Subject: 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 Signed-off-by: Lucas Stach Reviewed-by: Alyssa Rosenzweig --- src/gallium/drivers/kmsro/Android.mk | 1 + src/gallium/targets/dri/meson.build | 1 + src/gallium/targets/dri/target.c | 1 + 3 files changed, 3 insertions(+) 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 -- cgit v1.2.3