From b0f85fec1c6326f23b92ae92918f437700dadba5 Mon Sep 17 00:00:00 2001 From: cDurham <47431093+cDurham@users.noreply.github.com> Date: Thu, 3 Dec 2026 23:28:55 -0700 Subject: [PATCH] arm64: configs: orchard_apple4k: Enable UDMABUF Enable CONFIG_UDMABUF in orchard_apple4k_defconfig, as orchard_apple16k_defconfig has it. With /dev/udmabuf the compositor's GLES2 renderer (omarchy-a's wlroots) samples clients' shared-memory buffers in place; without it, it copies every changed buffer into a texture. On an iPad mini 2 (J85, A7) that copy is the slowest step of a frame. A full-screen terminal scrolling for 11 s: 85 composite passes and about 200 GPU transfer jobs of 47 ms each without the option, 242 to 260 passes and 0 to 4 transfer jobs with it. UDMABUF is a bool, so it cannot be a module. The apple-4k platform is the A7, A8 and A8X; only the A7 was measured. Assisted-by: LLM Co-Authored-By: Claude Fable 5.2 Signed-off-by: cDurham <47431093+cDurham@users.noreply.github.com> --- arch/arm64/configs/orchard_apple4k_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/orchard_apple4k_defconfig b/arch/arm64/configs/orchard_apple4k_defconfig index b2ea535f153fd9..b0f053889c5407 100644 --- a/arch/arm64/configs/orchard_apple4k_defconfig +++ b/arch/arm64/configs/orchard_apple4k_defconfig @@ -381,6 +381,7 @@ CONFIG_RTC_DRV_APPLE_PMIC=y CONFIG_RTC_DRV_MACSMC=y CONFIG_DMADEVICES=y CONFIG_APPLE_SIO_DMA=m +CONFIG_UDMABUF=y # CONFIG_VIRTIO_MENU is not set # CONFIG_VHOST_MENU is not set # CONFIG_SURFACE_PLATFORMS is not set