Skip to content
Snippets Groups Projects
Commit 8cfc17bd authored by Emma Anholt's avatar Emma Anholt
Browse files

kmsro: Add the rest of the current set of tinydrm drivers.


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: default avatarAlyssa Rosenzweig <alyssa@rosenzweig.io>
parent f4f4ec94
No related branches found
No related tags found
Loading
......@@ -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
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 \
......
......@@ -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']],
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment