From eb03e31cfc2254276ef7a3aff686b68dd7aa8529 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Fri, 26 Jun 2026 16:45:05 +0200 Subject: [PATCH] Enable Intel NPU driver (ivpu) for x86-64 boards (#4816) Enable CONFIG_DRM_ACCEL_IVPU on the generic-x86-64 and OVA boards so the Intel NPU (Neural Processing Unit) found on Core Ultra CPUs (Meteor Lake and later, including Panther Lake) is exposed as /dev/accel/accel0. This lets add-ons such as Frigate use OpenVINO with hardware-accelerated inference on the NPU. Also select the Intel NPU firmware (intel/vpu/vpu_*.bin), which already ships in linux-firmware 20260410 including the Panther Lake (vpu_50xx) blob. The driver is x86_64-only, so it is added to the per-board configs rather than the shared device-support-pci.config which is also used by aarch64 boards. Fixes #4783 Co-authored-by: Claude Opus 4.8 (1M context) --- buildroot-external/board/pc/generic-x86-64/kernel.config | 3 +++ buildroot-external/board/pc/ova/kernel.config | 3 +++ buildroot-external/configs/generic_x86_64_defconfig | 1 + buildroot-external/configs/ova_defconfig | 1 + 4 files changed, 8 insertions(+) diff --git a/buildroot-external/board/pc/generic-x86-64/kernel.config b/buildroot-external/board/pc/generic-x86-64/kernel.config index 79772a105..67225b467 100644 --- a/buildroot-external/board/pc/generic-x86-64/kernel.config +++ b/buildroot-external/board/pc/generic-x86-64/kernel.config @@ -35,6 +35,9 @@ CONFIG_DRM_I915_COMPRESS_ERROR=y CONFIG_DRM_I915_USERPTR=y CONFIG_DRM_XE=m +CONFIG_DRM_ACCEL=y +CONFIG_DRM_ACCEL_IVPU=m + CONFIG_PWM=y CONFIG_BACKLIGHT_CLASS_DEVICE=y diff --git a/buildroot-external/board/pc/ova/kernel.config b/buildroot-external/board/pc/ova/kernel.config index 9203b78a6..890ef149c 100644 --- a/buildroot-external/board/pc/ova/kernel.config +++ b/buildroot-external/board/pc/ova/kernel.config @@ -94,6 +94,9 @@ CONFIG_DRM_I915=m CONFIG_DRM_XE=m +CONFIG_DRM_ACCEL=y +CONFIG_DRM_ACCEL_IVPU=m + CONFIG_MMC=y CONFIG_MMC_BLOCK=y CONFIG_MMC_SDHCI=y diff --git a/buildroot-external/configs/generic_x86_64_defconfig b/buildroot-external/configs/generic_x86_64_defconfig index e2fdfe0e5..77f3d50a7 100644 --- a/buildroot-external/configs/generic_x86_64_defconfig +++ b/buildroot-external/configs/generic_x86_64_defconfig @@ -39,6 +39,7 @@ BR2_PACKAGE_LINUX_FIRMWARE=y BR2_PACKAGE_LINUX_FIRMWARE_AMDGPU=y BR2_PACKAGE_LINUX_FIRMWARE_I915=y BR2_PACKAGE_LINUX_FIRMWARE_XE=y +BR2_PACKAGE_LINUX_FIRMWARE_INTEL_NPU=y BR2_PACKAGE_LINUX_FIRMWARE_IBT=y BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7920_BT=y BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7921_BT=y diff --git a/buildroot-external/configs/ova_defconfig b/buildroot-external/configs/ova_defconfig index 27cbc9366..2c36d9b36 100644 --- a/buildroot-external/configs/ova_defconfig +++ b/buildroot-external/configs/ova_defconfig @@ -41,6 +41,7 @@ BR2_PACKAGE_NFS_UTILS=y BR2_PACKAGE_LINUX_FIRMWARE=y BR2_PACKAGE_LINUX_FIRMWARE_I915=y BR2_PACKAGE_LINUX_FIRMWARE_XE=y +BR2_PACKAGE_LINUX_FIRMWARE_INTEL_NPU=y BR2_PACKAGE_LINUX_FIRMWARE_IBT=y BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7920_BT=y BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7921_BT=y