# 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
$(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
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 \
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)