mirror of
https://github.com/Heleguo/lede.git
synced 2025-12-16 19:01:32 +00:00
x86: introduce new Intel Xe DRM driver for DG/XE1/XE2/Lunar Lake+ GPU
This commit is contained in:
parent
ea6ed2801e
commit
e8980cd67d
@ -481,15 +481,14 @@ define KernelPackage/drm-amdgpu
|
|||||||
DEPENDS:=@TARGET_x86 @DISPLAY_SUPPORT +kmod-backlight +kmod-drm-ttm \
|
DEPENDS:=@TARGET_x86 @DISPLAY_SUPPORT +kmod-backlight +kmod-drm-ttm \
|
||||||
+kmod-drm-ttm-helper +kmod-drm-kms-helper +kmod-i2c-algo-bit +amdgpu-firmware \
|
+kmod-drm-ttm-helper +kmod-drm-kms-helper +kmod-i2c-algo-bit +amdgpu-firmware \
|
||||||
+kmod-drm-display-helper +kmod-drm-buddy +kmod-acpi-video \
|
+kmod-drm-display-helper +kmod-drm-buddy +kmod-acpi-video \
|
||||||
+(LINUX_6_6||LINUX_6_12):kmod-drm-exec +(LINUX_6_6||LINUX_6_12):kmod-drm-suballoc-helper
|
+(LINUX_6_6||LINUX_6_12):kmod-drm-exec +(LINUX_6_6||LINUX_6_12):kmod-drm-suballoc-helper +kmod-drm-sched
|
||||||
KCONFIG:=CONFIG_DRM_AMDGPU \
|
KCONFIG:=CONFIG_DRM_AMDGPU \
|
||||||
CONFIG_DRM_AMDGPU_SI=y \
|
CONFIG_DRM_AMDGPU_SI=y \
|
||||||
CONFIG_DRM_AMDGPU_CIK=y \
|
CONFIG_DRM_AMDGPU_CIK=y \
|
||||||
CONFIG_DRM_AMD_DC=y \
|
CONFIG_DRM_AMD_DC=y \
|
||||||
CONFIG_DEBUG_KERNEL_DC=n
|
CONFIG_DEBUG_KERNEL_DC=n
|
||||||
FILES:=$(LINUX_DIR)/drivers/gpu/drm/amd/amdgpu/amdgpu.ko \
|
FILES:=$(LINUX_DIR)/drivers/gpu/drm/amd/amdgpu/amdgpu.ko \
|
||||||
$(LINUX_DIR)/drivers/gpu/drm/amd/amdxcp/amdxcp.ko@ge6.5 \
|
$(LINUX_DIR)/drivers/gpu/drm/amd/amdxcp/amdxcp.ko@ge6.5
|
||||||
$(LINUX_DIR)/drivers/gpu/drm/scheduler/gpu-sched.ko
|
|
||||||
AUTOLOAD:=$(call AutoProbe,amdgpu)
|
AUTOLOAD:=$(call AutoProbe,amdgpu)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -754,6 +753,31 @@ endef
|
|||||||
|
|
||||||
$(eval $(call KernelPackage,drm-nouveau))
|
$(eval $(call KernelPackage,drm-nouveau))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/drm-xe
|
||||||
|
SUBMENU:=$(VIDEO_MENU)
|
||||||
|
TITLE:=Intel Xe GPU drm support
|
||||||
|
DEPENDS:=@TARGET_x86 +kmod-drm-buddy +kmod-drm-ttm +kmod-drm-kms-helper +kmod-drm-i915 +i915-firmware \
|
||||||
|
+kmod-drm-display-helper +kmod-acpi-video \
|
||||||
|
+kmod-drm-exec +kmod-drm-suballoc-helper +kmod-drm-sched @LINUX_6_12
|
||||||
|
KCONFIG:= \
|
||||||
|
CONFIG_DRM_GPUVM \
|
||||||
|
CONFIG_DRM_SCHED \
|
||||||
|
CONFIG_DRM_XE
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/drivers/gpu/drm/drm_gpuvm.ko \
|
||||||
|
$(LINUX_DIR)/drivers/gpu/drm/xe/xe.ko
|
||||||
|
AUTOLOAD:=$(call AutoProbe,gpu-sched drm_gpuvm xe)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/drm-xe/description
|
||||||
|
The drm/xe driver supports some future GFX cards with rendering, display,
|
||||||
|
compute and media. Support for currently available platforms like TGL, ADL,
|
||||||
|
DG2, etc is provided to prototype the driver.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,drm-xe))
|
||||||
|
|
||||||
#
|
#
|
||||||
# Video Capture
|
# Video Capture
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user