kmsro: Add the rest of the current set of tinydrm drivers.
authorEric Anholt <eric@anholt.net>
Mon, 28 Jan 2019 17:51:41 +0000 (09:51 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 20 Feb 2019 21:49:41 +0000 (21:49 +0000)
While I haven't tested them all, given that they're all using the same
allocation paths and modifiers in the kernel they should be fine to use in
the same way.

v2: Rebase on other kmsro changes.
v3: Skip repeated '[with_gallium_kmsro,' in the meson build.

Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/kmsro/Android.mk
src/gallium/drivers/kmsro/Automake.inc
src/gallium/targets/dri/meson.build
src/gallium/targets/dri/target.c

index 06062e244aa98486ed78a18bc7a2bb814eb8aee9..dc5e2b2f553ede63a88119bc25b3a950992bc559 100644 (file)
@@ -34,8 +34,14 @@ include $(GALLIUM_COMMON_MK)
 include $(BUILD_STATIC_LIBRARY)
 
 ifneq ($(HAVE_GALLIUM_KMSRO),)
-GALLIUM_TARGET_DRIVERS += pl111
 GALLIUM_TARGET_DRIVERS += hx8357d
+GALLIUM_TARGET_DRIVERS += ili9225
+GALLIUM_TARGET_DRIVERS += ili9341
 GALLIUM_TARGET_DRIVERS += imx
+GALLIUM_TARGET_DRIVERS += mi0283qt
+GALLIUM_TARGET_DRIVERS += pl111
+GALLIUM_TARGET_DRIVERS += repaper
+GALLIUM_TARGET_DRIVERS += st7586
+GALLIUM_TARGET_DRIVERS += st7735r
 $(eval GALLIUM_LIBS += $(LOCAL_MODULE) libmesa_winsys_kmsro)
 endif
index d5961c90765336949c8c02800a406ad486dd77db..61989f425acf6cf41ce0a675f5e08bef223ca3d2 100644 (file)
@@ -1,7 +1,13 @@
 if HAVE_GALLIUM_KMSRO
 
-TARGET_DRIVERS += pl111
 TARGET_DRIVERS += hx8357d
+TARGET_DRIVERS += ili9225
+TARGET_DRIVERS += ili9341
+TARGET_DRIVERS += mi0283qt
+TARGET_DRIVERS += pl111
+TARGET_DRIVERS += repaper
+TARGET_DRIVERS += st7586
+TARGET_DRIVERS += st7735r
 TARGET_CPPFLAGS += -DGALLIUM_KMSRO
 TARGET_LIB_DEPS += \
     $(top_builddir)/src/gallium/winsys/kmsro/drm/libkmsrodrm.la \
index df77d329efa16fa7c598280f701a7fb234983060..43f7ac2c22cd20f1aebf5ba394b2bfc1aedb3f4e 100644 (file)
@@ -62,11 +62,19 @@ libgallium_dri = shared_library(
   ],
 )
 
-foreach d : [[with_gallium_kmsro, 'pl111_dri.so'],
-             [with_gallium_kmsro, 'hx8357d_dri.so'],
-             [with_gallium_kmsro, 'imx-drm_dri.so'],
-             [with_gallium_kmsro, 'rockchip_dri.so'],
-             [with_gallium_kmsro, 'meson_dri.so'],
+foreach d : [[with_gallium_kmsro, [
+               'hx8357d_dri.so',
+               'ili9225_dri.so',
+               'ili9341_dri.so',
+               'imx-drm_dri.so',
+               'meson_dri.so',
+               'mi0283qt_dri.so',
+               'pl111_dri.so',
+               'repaper_dri.so',
+               'rockchip_dri.so',
+               'st7586.so',
+               'st7735r.so',
+             ]],
              [with_gallium_radeonsi, 'radeonsi_dri.so'],
              [with_gallium_nouveau, 'nouveau_dri.so'],
              [with_gallium_freedreno, ['msm_dri.so', 'kgsl_dri.so']],
index 8acec0c819d9c0e02b815bd1ed39207b814276c5..2d83d88324f8c22d14e79d609b16414be85b54f3 100644 (file)
@@ -94,8 +94,14 @@ DEFINE_LOADER_DRM_ENTRYPOINT(tegra);
 
 #if defined(GALLIUM_KMSRO)
 DEFINE_LOADER_DRM_ENTRYPOINT(hx8357d)
+DEFINE_LOADER_DRM_ENTRYPOINT(ili9225)
+DEFINE_LOADER_DRM_ENTRYPOINT(ili9341)
 DEFINE_LOADER_DRM_ENTRYPOINT(meson)
+DEFINE_LOADER_DRM_ENTRYPOINT(mi0283qt)
 DEFINE_LOADER_DRM_ENTRYPOINT(pl111)
+DEFINE_LOADER_DRM_ENTRYPOINT(repaper)
 DEFINE_LOADER_DRM_ENTRYPOINT(rockchip)
+DEFINE_LOADER_DRM_ENTRYPOINT(st7586)
+DEFINE_LOADER_DRM_ENTRYPOINT(st7735r)
 #endif