summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Zheng2025-02-08 01:38:36 +0000
committerRobert Marko2025-05-15 08:09:40 +0000
commit51b78aaaae176f369f9cfb96e6d47727808ce11f (patch)
tree12be5b41bc3502c60aa6052a1be913015a46dae0
parentbcda3b66fa83619316614957d10cfa3eb5a38527 (diff)
downloadopenwrt-51b78aaaae176f369f9cfb96e6d47727808ce11f.tar.gz
kernel: package intel_vpu driver
Add package for linux intel_vpu driver for Intel NPU/VPU Signed-off-by: Joe Zheng <joe.zheng@intel.com> Link: https://github.com/openwrt/openwrt/pull/17904 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/kernel/linux/modules/video.mk14
-rw-r--r--target/linux/x86/64/config-6.123
-rw-r--r--target/linux/x86/64/config-6.63
-rw-r--r--target/linux/x86/config-6.121
-rw-r--r--target/linux/x86/config-6.61
5 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index efa4246d1f..f8117da0b5 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -523,6 +523,20 @@ endef
$(eval $(call KernelPackage,drm-i915))
+define KernelPackage/drm-ivpu
+ SUBMENU:=$(VIDEO_MENU)
+ TITLE:=Intel VPU DRM support
+ DEPENDS:=@TARGET_x86_64 +ivpu-firmware
+ KCONFIG:=CONFIG_DRM_ACCEL_IVPU
+ FILES:=$(LINUX_DIR)/drivers/accel/ivpu/intel_vpu.ko
+ AUTOLOAD:=$(call AutoProbe,intel_vpu)
+endef
+
+define KernelPackage/drm-ivpu/description
+ Direct Rendering Manager (DRM) support for Intel VPU
+endef
+
+$(eval $(call KernelPackage,drm-ivpu))
define KernelPackage/drm-imx
SUBMENU:=$(VIDEO_MENU)
diff --git a/target/linux/x86/64/config-6.12 b/target/linux/x86/64/config-6.12
index 3900637a21..5ab986a292 100644
--- a/target/linux/x86/64/config-6.12
+++ b/target/linux/x86/64/config-6.12
@@ -134,6 +134,9 @@ CONFIG_DMA_NEED_SYNC=y
CONFIG_DMA_OPS_HELPERS=y
CONFIG_DMA_SHARED_BUFFER=y
CONFIG_DRM=y
+# CONFIG_DRM_ACCEL_HABANALABS is not set
+# CONFIG_DRM_ACCEL_IVPU is not set
+# CONFIG_DRM_ACCEL_QAIC is not set
# CONFIG_DRM_AMD_ISP is not set
CONFIG_DRM_BOCHS=y
CONFIG_DRM_BRIDGE=y
diff --git a/target/linux/x86/64/config-6.6 b/target/linux/x86/64/config-6.6
index 1d08d31daa..91506fd112 100644
--- a/target/linux/x86/64/config-6.6
+++ b/target/linux/x86/64/config-6.6
@@ -140,6 +140,9 @@ CONFIG_DMA_ACPI=y
CONFIG_DMA_OPS=y
CONFIG_DMA_SHARED_BUFFER=y
CONFIG_DRM=y
+# CONFIG_DRM_ACCEL_HABANALABS is not set
+# CONFIG_DRM_ACCEL_IVPU is not set
+# CONFIG_DRM_ACCEL_QAIC is not set
CONFIG_DRM_BOCHS=y
CONFIG_DRM_BRIDGE=y
CONFIG_DRM_BUDDY=y
diff --git a/target/linux/x86/config-6.12 b/target/linux/x86/config-6.12
index d529f2c7c8..7665f03004 100644
--- a/target/linux/x86/config-6.12
+++ b/target/linux/x86/config-6.12
@@ -106,6 +106,7 @@ CONFIG_DMIID=y
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
CONFIG_DMI_SYSFS=y
CONFIG_DNOTIFY=y
+CONFIG_DRM_ACCEL=y
# CONFIG_DRM_I915_GVT_KVMGT is not set
CONFIG_DUMMY_CONSOLE=y
# CONFIG_DP83TG720_PHY is not set
diff --git a/target/linux/x86/config-6.6 b/target/linux/x86/config-6.6
index 2b6ab88dc3..f184ef4b89 100644
--- a/target/linux/x86/config-6.6
+++ b/target/linux/x86/config-6.6
@@ -104,6 +104,7 @@ CONFIG_DMIID=y
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
CONFIG_DMI_SYSFS=y
CONFIG_DNOTIFY=y
+CONFIG_DRM_ACCEL=y
# CONFIG_DRM_I915_GVT_KVMGT is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_DYNAMIC_SIGFRAME=y