-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
201 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
--- a/package/kernel/linux/modules/netsupport.mk | ||
+++ b/package/kernel/linux/modules/netsupport.mk | ||
@@ -1347,3 +1347,66 @@ define KernelPackage/wireguard/description | ||
endef | ||
|
||
$(eval $(call KernelPackage,wireguard)) | ||
+ | ||
+define KernelPackage/qrtr | ||
+ SUBMENU:=$(NETWORK_SUPPORT_MENU) | ||
+ TITLE:=Qualcomm IPC Router support | ||
+ HIDDEN:=1 | ||
+ DEPENDS:=@LINUX_5_15 | ||
+ KCONFIG:=CONFIG_QRTR | ||
+ FILES:= \ | ||
+ $(LINUX_DIR)/net/qrtr/qrtr.ko \ | ||
+ $(LINUX_DIR)/net/qrtr/ns.ko | ||
+ AUTOLOAD:=$(call AutoProbe,qrtr) | ||
+endef | ||
+ | ||
+define KernelPackage/qrtr/description | ||
+ Qualcomm IPC Router support | ||
+endef | ||
+ | ||
+$(eval $(call KernelPackage,qrtr)) | ||
+ | ||
+define KernelPackage/qrtr-tun | ||
+ SUBMENU:=$(NETWORK_SUPPORT_MENU) | ||
+ TITLE:=TUN device for Qualcomm IPC Router | ||
+ DEPENDS:=+kmod-qrtr | ||
+ KCONFIG:=CONFIG_QRTR_TUN | ||
+ FILES:= $(LINUX_DIR)/net/qrtr/qrtr-tun.ko | ||
+ AUTOLOAD:=$(call AutoProbe,qrtr-tun) | ||
+endef | ||
+ | ||
+define KernelPackage/qrtr-tun/description | ||
+ TUN device for Qualcomm IPC Router | ||
+endef | ||
+ | ||
+$(eval $(call KernelPackage,qrtr-tun)) | ||
+ | ||
+define KernelPackage/qrtr-smd | ||
+ SUBMENU:=$(NETWORK_SUPPORT_MENU) | ||
+ TITLE:=SMD IPC Router channels | ||
+ DEPENDS:=+kmod-qrtr @TARGET_ipq807x | ||
+ KCONFIG:=CONFIG_QRTR_SMD | ||
+ FILES:= $(LINUX_DIR)/net/qrtr/qrtr-smd.ko | ||
+ AUTOLOAD:=$(call AutoProbe,qrtr-smd) | ||
+endef | ||
+ | ||
+define KernelPackage/qrtr-smd/description | ||
+ SMD IPC Router channels | ||
+endef | ||
+ | ||
+$(eval $(call KernelPackage,qrtr-smd)) | ||
+ | ||
+define KernelPackage/qrtr-mhi | ||
+ SUBMENU:=$(NETWORK_SUPPORT_MENU) | ||
+ TITLE:=MHI IPC Router channels | ||
+ DEPENDS:=+kmod-mhi-bus +kmod-qrtr | ||
+ KCONFIG:=CONFIG_QRTR_MHI | ||
+ FILES:= $(LINUX_DIR)/net/qrtr/qrtr-mhi.ko | ||
+ AUTOLOAD:=$(call AutoProbe,qrtr-mhi) | ||
+endef | ||
+ | ||
+define KernelPackage/qrtr-mhi/description | ||
+ MHI IPC Router channels | ||
+endef | ||
+ | ||
+$(eval $(call KernelPackage,qrtr-mhi)) | ||
|
||
--- a/package/kernel/linux/modules/other.mk | ||
+++ b/package/kernel/linux/modules/other.mk | ||
@@ -1322,3 +1322,17 @@ define KernelPackage/mhi-pci-generic/description | ||
endef | ||
|
||
$(eval $(call KernelPackage,mhi-pci-generic)) | ||
+ | ||
+define KernelPackage/qcom-qmi-helpers | ||
+ SUBMENU:=$(OTHER_MENU) | ||
+ TITLE:=Qualcomm QMI Helpers | ||
+ KCONFIG:=CONFIG_QCOM_QMI_HELPERS | ||
+ FILES:=$(LINUX_DIR)/drivers/soc/qcom/qmi_helpers.ko | ||
+ AUTOLOAD:=$(call AutoProbe,qmi_helpers) | ||
+endef | ||
+ | ||
+define KernelPackage/qcom-qmi-helpers/description | ||
+ Qualcomm QMI Helpers | ||
+endef | ||
+ | ||
+$(eval $(call KernelPackage,qcom-qmi-helpers)) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
From d990f23c514708418a2222cfd20dcc3478f9a522 Mon Sep 17 00:00:00 2001 | ||
From: kiddin9 <[email protected]> | ||
Date: Mon, 23 May 2022 14:55:01 +0800 | ||
Subject: [PATCH] Update video.mk | ||
|
||
--- | ||
package/kernel/linux/modules/video.mk | 63 +++++++++++++++++++++++++-- | ||
1 file changed, 59 insertions(+), 4 deletions(-) | ||
|
||
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk | ||
index 2a306b5f4289..0a759dd0ebcd 100644 | ||
--- a/package/kernel/linux/modules/video.mk | ||
+++ b/package/kernel/linux/modules/video.mk | ||
@@ -220,13 +220,35 @@ endef | ||
|
||
$(eval $(call KernelPackage,fb-tft-ili9486)) | ||
|
||
+define KernelPackage/multimedia-input | ||
+ SUBMENU:=$(VIDEO_MENU) | ||
+ TITLE:=Multimedia input support | ||
+ DEPENDS:=+kmod-input-core | ||
+ KCONFIG:=CONFIG_RC_CORE \ | ||
+ CONFIG_LIRC=y \ | ||
+ CONFIG_RC_DECODERS=y \ | ||
+ CONFIG_RC_DEVICES=y | ||
+ FILES:=$(LINUX_DIR)/drivers/media/rc/rc-core.ko | ||
+ AUTOLOAD:=$(call AutoProbe,rc-core) | ||
+endef | ||
+ | ||
+define KernelPackage/multimedia-input/description | ||
+ Enable multimedia input. | ||
+endef | ||
+ | ||
+$(eval $(call KernelPackage,multimedia-input)) | ||
|
||
define KernelPackage/drm | ||
SUBMENU:=$(VIDEO_MENU) | ||
TITLE:=Direct Rendering Manager (DRM) support | ||
HIDDEN:=1 | ||
- DEPENDS:=+kmod-dma-buf +kmod-i2c-core +PACKAGE_kmod-backlight:kmod-backlight | ||
- KCONFIG:=CONFIG_DRM | ||
+ DEPENDS:=+kmod-dma-buf +kmod-i2c-core +kmod-i2c-algo-bit +PACKAGE_kmod-backlight:kmod-backlight | ||
+ KCONFIG:= \ | ||
+ CONFIG_DRM \ | ||
+ CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y \ | ||
+ CONFIG_DRM_FBDEV_EMULATION=y \ | ||
+ CONFIG_DRM_FBDEV_OVERALLOC=100 \ | ||
+ CONFIG_HDMI | ||
FILES:= \ | ||
$(LINUX_DIR)/drivers/gpu/drm/drm.ko \ | ||
$(LINUX_DIR)/drivers/gpu/drm/drm_panel_orientation_quirks.ko | ||
@@ -300,8 +322,6 @@ define KernelPackage/drm-imx | ||
TITLE:=Freescale i.MX DRM support | ||
DEPENDS:=@TARGET_imx +kmod-drm-kms-helper | ||
KCONFIG:=CONFIG_DRM_IMX \ | ||
- CONFIG_DRM_FBDEV_EMULATION=y \ | ||
- CONFIG_DRM_FBDEV_OVERALLOC=100 \ | ||
CONFIG_IMX_IPUV3_CORE \ | ||
CONFIG_RESET_CONTROLLER=y \ | ||
CONFIG_DRM_IMX_IPUV3 \ | ||
@@ -1028,3 +1048,38 @@ define KernelPackage/video-gspca-konica/description | ||
endef | ||
|
||
$(eval $(call KernelPackage,video-gspca-konica)) | ||
+ | ||
+define KernelPackage/drm-i915 | ||
+ SUBMENU:=$(VIDEO_MENU) | ||
+ TITLE:=Intel GPU drm support | ||
+ DEPENDS:=@TARGET_x86 +kmod-drm-ttm +kmod-drm-kms-helper +i915-firmware | ||
+ KCONFIG:= \ | ||
+ CONFIG_INTEL_GTT=y \ | ||
+ CONFIG_DRM_I915=m \ | ||
+ CONFIG_DRM_I915_CAPTURE_ERROR=y \ | ||
+ CONFIG_DRM_I915_COMPRESS_ERROR=y \ | ||
+ CONFIG_DRM_I915_USERPTR=y \ | ||
+ CONFIG_DRM_I915_GVT=y \ | ||
+ CONFIG_DRM_I915_WERROR=n \ | ||
+ CONFIG_DRM_I915_DEBUG=n \ | ||
+ CONFIG_DRM_I915_DEBUG_MMIO=n \ | ||
+ CONFIG_DRM_I915_SW_FENCE_DEBUG_OBJECTS=n \ | ||
+ CONFIG_DRM_I915_SW_FENCE_CHECK_DAG=n \ | ||
+ CONFIG_DRM_I915_DEBUG_GUC=n \ | ||
+ CONFIG_DRM_I915_SELFTEST=n \ | ||
+ CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS=n \ | ||
+ CONFIG_DRM_I915_DEBUG_VBLANK_EVADE=n \ | ||
+ CONFIG_DRM_I915_DEBUG_RUNTIME_PM=n | ||
+ FILES:=$(LINUX_DIR)/drivers/gpu/drm/i915/i915.ko | ||
+ AUTOLOAD:=$(call AutoProbe,i915) | ||
+endef | ||
+ | ||
+define KernelPackage/drm-i915/description | ||
+ Direct Rendering Manager (DRM) support for "Intel Graphics | ||
+ Media Accelerator" or "HD Graphics" integrated graphics, | ||
+ including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G, | ||
+ G35, G41, G43, G45 chipsets and Celeron, Pentium, Core i3, | ||
+ Core i5, Core i7 as well as Atom CPUs with integrated graphics. | ||
+endef | ||
+ | ||
+$(eval $(call KernelPackage,drm-i915)) |