From 2b780fe89300199f2334539aa1678e9b68f0434f Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Fri, 25 Jan 2019 10:56:18 -0600 Subject: [PATCH] kmsro: Add platform support for exynos and sun4i v2: - add Android.mk change Reviewed-by: Eric Anholt Signed-off-by: Rob Herring Signed-off-by: Qiang Yu --- src/gallium/drivers/kmsro/Android.mk | 2 ++ src/gallium/targets/dri/meson.build | 2 ++ src/gallium/targets/dri/target.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/gallium/drivers/kmsro/Android.mk b/src/gallium/drivers/kmsro/Android.mk index dc5e2b2..78340f5 100644 --- a/src/gallium/drivers/kmsro/Android.mk +++ b/src/gallium/drivers/kmsro/Android.mk @@ -34,6 +34,7 @@ include $(GALLIUM_COMMON_MK) include $(BUILD_STATIC_LIBRARY) ifneq ($(HAVE_GALLIUM_KMSRO),) +GALLIUM_TARGET_DRIVERS += exynos GALLIUM_TARGET_DRIVERS += hx8357d GALLIUM_TARGET_DRIVERS += ili9225 GALLIUM_TARGET_DRIVERS += ili9341 @@ -43,5 +44,6 @@ GALLIUM_TARGET_DRIVERS += pl111 GALLIUM_TARGET_DRIVERS += repaper GALLIUM_TARGET_DRIVERS += st7586 GALLIUM_TARGET_DRIVERS += st7735r +GALLIUM_TARGET_DRIVERS += sun4i-drm $(eval GALLIUM_LIBS += $(LOCAL_MODULE) libmesa_winsys_kmsro) endif diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index fb8bd97..3101c7b 100644 --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -66,6 +66,7 @@ libgallium_dri = shared_library( ) foreach d : [[with_gallium_kmsro, [ + 'exynos_dri.so', 'hx8357d_dri.so', 'ili9225_dri.so', 'ili9341_dri.so', @@ -77,6 +78,7 @@ foreach d : [[with_gallium_kmsro, [ 'rockchip_dri.so', 'st7586.so', 'st7735r.so', + 'sun4i-drm_dri.so', ]], [with_gallium_radeonsi, 'radeonsi_dri.so'], [with_gallium_nouveau, 'nouveau_dri.so'], diff --git a/src/gallium/targets/dri/target.c b/src/gallium/targets/dri/target.c index c702058..ec657de 100644 --- a/src/gallium/targets/dri/target.c +++ b/src/gallium/targets/dri/target.c @@ -93,6 +93,7 @@ DEFINE_LOADER_DRM_ENTRYPOINT(tegra); #endif #if defined(GALLIUM_KMSRO) +DEFINE_LOADER_DRM_ENTRYPOINT(exynos) DEFINE_LOADER_DRM_ENTRYPOINT(hx8357d) DEFINE_LOADER_DRM_ENTRYPOINT(ili9225) DEFINE_LOADER_DRM_ENTRYPOINT(ili9341) @@ -103,6 +104,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(sun4i_drm) #endif #if defined(GALLIUM_LIMA) -- 2.7.4