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/targets/dri/meson.build | 1 + src/gallium/targets/dri/target.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src/gallium/targets/dri') 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