Bring up SSD2092 display/touch, USB NCM, HiDPI XLibre/DWM, and USB charging

This commit is contained in:
Luxferre committed 2026-11-22 15:49:38 +02:00
1 parent 034c1f61b1
commit 9db15e30ce
150 files changed
+2356 -446

No files matched your search

@@ -0,0 +1,28 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Geminux Contributors <dev@geminux.local>
Date: Sun, 22 Nov 2026 12:15:00 +0200
Subject: [PATCH] modesetting: skip modifiers when allocating CPU-mapped dumb BOs
When do_map is true (AccelMethod "none", GBM_BO_USE_WRITE | GBM_BO_USE_SCANOUT),
skip gbm_bo_create_with_modifiers{,2} so gbm_bo_create() allocates a linear
contiguous KMS dumb buffer directly from the display DRM driver without
non-IOMMU PRIME/modifier incompatibilities.
---
hw/xfree86/drivers/video/modesetting/drmmode_bo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xfree86/drivers/video/modesetting/drmmode_bo.c b/hw/xfree86/drivers/video/modesetting/drmmode_bo.c
index 1111111..2222222 100644
--- a/hw/xfree86/drivers/video/modesetting/drmmode_bo.c
+++ b/hw/xfree86/drivers/video/modesetting/drmmode_bo.c
@@ -143,7 +143,7 @@ gbm_bo_create_and_map(struct gbm_device *gbm,
}
#ifdef GBM_BO_WITH_MODIFIERS
- if (count && modifiers) {
+ if (!do_map && count && modifiers) {
data->used_modifiers = TRUE;
#ifdef GBM_BO_WITH_MODIFIERS2
TRY_CREATE(gbm_bo_create_with_modifiers2, data, do_map,
--
2.55.0
@@ -0,0 +1,24 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Geminux Contributors <dev@geminux.local>
Date: Sun, 22 Nov 2026 13:40:00 +0200
Subject: [PATCH] glx: do not embed cross-compile sysroot in DRI_DRIVER_PATH
---
include/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/meson.build b/include/meson.build
index 111111111..222222222 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -241,7 +241,7 @@ conf_data.set('DRI2', build_dri2 ? '1' : false)
conf_data.set('DRI3', build_dri3 ? '1' : false)
if build_glx
if build_glx_dri
- conf_data.set_quoted('DRI_DRIVER_PATH', dri_dep.get_variable(pkgconfig : 'dridriverdir'))
+ conf_data.set_quoted('DRI_DRIVER_PATH', join_paths(get_option('prefix'), get_option('libdir'), 'dri'))
conf_data.set('BUILD_GLX_DRI', 1)
endif
endif
--
2.55.0