kernel: modules: video: adapt drm-amdgpu and drm-radeon for kernel 6.1
Package and add dependencies to drm-amdgpu and drm-radeon for 6.1 * package acpi-video, drm-display-helper and drm-buddy * add acpi-video, drm-display-helper and drm-buddy as dependencies for drm-amdgpu * add acpi-video and drm-display-helper as dependencies for drm-radeon Signed-off-by: Pascal Coudurier <coudu@gmx.com>
This commit is contained in:
parent
e9dc4ff22d
commit
dc471652fe
|
@ -16,6 +16,24 @@ V4L2_MEM2MEM_DIR=platform
|
|||
# Video Display
|
||||
#
|
||||
|
||||
define KernelPackage/acpi-video
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=ACPI Extensions For Display Adapters
|
||||
DEPENDS:=@TARGET_x86 +kmod-backlight
|
||||
HIDDEN:=1
|
||||
KCONFIG:=CONFIG_ACPI_VIDEO \
|
||||
CONFIG_ACPI_WMI
|
||||
FILES:=$(LINUX_DIR)/drivers/acpi/video.ko \
|
||||
$(LINUX_DIR)/drivers/platform/x86/wmi.ko
|
||||
AUTOLOAD:=$(call AutoProbe,wmi video)
|
||||
endef
|
||||
|
||||
define KernelPackage/acpi-video/description
|
||||
Kernel support for integrated graphics devices.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,acpi-video))
|
||||
|
||||
define KernelPackage/backlight
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=Backlight support
|
||||
|
@ -241,6 +259,36 @@ endef
|
|||
|
||||
$(eval $(call KernelPackage,drm))
|
||||
|
||||
define KernelPackage/drm-buddy
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=A page based buddy allocator
|
||||
DEPENDS:=@DISPLAY_SUPPORT +kmod-drm @LINUX_6_1
|
||||
KCONFIG:=CONFIG_DRM_BUDDY
|
||||
FILES:= $(LINUX_DIR)/drivers/gpu/drm/drm_buddy.ko
|
||||
AUTOLOAD:=$(call AutoProbe,drm_buddy)
|
||||
endef
|
||||
|
||||
define KernelPackage/drm-buddy/description
|
||||
A page based buddy allocator
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,drm-buddy))
|
||||
|
||||
define KernelPackage/drm-display-helper
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=DRM helpers for display adapters drivers
|
||||
DEPENDS:=@DISPLAY_SUPPORT +kmod-drm-kms-helper @LINUX_6_1
|
||||
KCONFIG:=CONFIG_DRM_DISPLAY_HELPER
|
||||
FILES:=$(LINUX_DIR)/drivers/gpu/drm/display/drm_display_helper.ko
|
||||
AUTOLOAD:=$(call AutoProbe,drm_display_helper)
|
||||
endef
|
||||
|
||||
define KernelPackage/drm-display-helper/description
|
||||
DRM helpers for display adapters drivers.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,drm-display-helper))
|
||||
|
||||
define KernelPackage/drm-ttm
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=GPU memory management subsystem
|
||||
|
@ -293,7 +341,9 @@ define KernelPackage/drm-amdgpu
|
|||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=AMDGPU DRM support
|
||||
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 \
|
||||
+LINUX_6_1:kmod-drm-display-helper +LINUX_6_1:kmod-drm-buddy \
|
||||
+LINUX_6_1:kmod-acpi-video
|
||||
KCONFIG:=CONFIG_DRM_AMDGPU \
|
||||
CONFIG_DRM_AMDGPU_SI=y \
|
||||
CONFIG_DRM_AMDGPU_CIK=y \
|
||||
|
@ -391,7 +441,8 @@ define KernelPackage/drm-radeon
|
|||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=Radeon DRM support
|
||||
DEPENDS:=@TARGET_x86 @DISPLAY_SUPPORT +kmod-backlight +kmod-drm-kms-helper \
|
||||
+kmod-drm-ttm +kmod-drm-ttm-helper +kmod-i2c-algo-bit +radeon-firmware
|
||||
+kmod-drm-ttm +kmod-drm-ttm-helper +kmod-i2c-algo-bit +radeon-firmware \
|
||||
+LINUX_6_1:kmod-drm-display-helper +LINUX_6_1:kmod-acpi-video
|
||||
KCONFIG:=CONFIG_DRM_RADEON
|
||||
FILES:=$(LINUX_DIR)/drivers/gpu/drm/radeon/radeon.ko
|
||||
AUTOLOAD:=$(call AutoProbe,radeon)
|
||||
|
|
Loading…
Reference in New Issue