mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 09:48:07 +02:00
kmsro: Extend to include hx8357d.
This allows vc4 to initialize on the Adafruit PiTFT 3.5" touchscreen with
the hx8357d tinydrm driver
v2: Whitespace fix noted by Eric Engestrom, update commit message for the
driver being merged.
v3: Rebase on Rob Herring's pipe-loader changes.
Acked-by: Eric Engestrom <eric.engestrom@intel.com> (v1)
Acked-by: Emil Velikov <emil.velikov@collabora.com> (v1)
This commit is contained in:
parent
511e7b6f61
commit
272b6cf58f
4 changed files with 4 additions and 0 deletions
|
|
@ -35,5 +35,6 @@ include $(BUILD_STATIC_LIBRARY)
|
|||
|
||||
ifneq ($(HAVE_GALLIUM_KMSRO),)
|
||||
GALLIUM_TARGET_DRIVERS += pl111
|
||||
GALLIUM_TARGET_DRIVERS += hx8357d
|
||||
$(eval GALLIUM_LIBS += $(LOCAL_MODULE) libmesa_winsys_kmsro)
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
if HAVE_GALLIUM_KMSRO
|
||||
|
||||
TARGET_DRIVERS += pl111
|
||||
TARGET_DRIVERS += hx8357d
|
||||
TARGET_CPPFLAGS += -DGALLIUM_KMSRO
|
||||
TARGET_LIB_DEPS += \
|
||||
$(top_builddir)/src/gallium/winsys/kmsro/drm/libkmsrodrm.la \
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ libgallium_dri = shared_library(
|
|||
)
|
||||
|
||||
foreach d : [[with_gallium_kmsro, 'pl111_dri.so'],
|
||||
[with_gallium_kmsro, 'hx8357d_dri.so'],
|
||||
[with_gallium_radeonsi, 'radeonsi_dri.so'],
|
||||
[with_gallium_nouveau, 'nouveau_dri.so'],
|
||||
[with_gallium_freedreno, ['msm_dri.so', 'kgsl_dri.so']],
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ DEFINE_LOADER_DRM_ENTRYPOINT(v3d)
|
|||
#if defined(GALLIUM_VC4)
|
||||
DEFINE_LOADER_DRM_ENTRYPOINT(vc4)
|
||||
#if defined(GALLIUM_KMSRO)
|
||||
DEFINE_LOADER_DRM_ENTRYPOINT(hx8357d)
|
||||
DEFINE_LOADER_DRM_ENTRYPOINT(pl111)
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue