kmsro: Add platform support for exynos and sun4i
authorRob Herring <robh@kernel.org>
Fri, 25 Jan 2019 16:56:18 +0000 (10:56 -0600)
committerQiang Yu <yuq825@gmail.com>
Thu, 11 Apr 2019 01:57:53 +0000 (09:57 +0800)
v2:
- add Android.mk change

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/kmsro/Android.mk
src/gallium/targets/dri/meson.build
src/gallium/targets/dri/target.c

index dc5e2b2f553ede63a88119bc25b3a950992bc559..78340f56e4653bf3ce6a63485335a58c68641b03 100644 (file)
@@ -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
index fb8bd97c416487a8e79d1583a670b884fea97ad3..3101c7bd90dddf59510aa1d1a01054205b59a865 100644 (file)
@@ -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'],
index c702058b0c96f8e376ca383d12c1ba160ab4faf7..ec657de277dfb4f5ecc65c19cc8d19c7053b1446 100644 (file)
@@ -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)