From 47e3f5013f48cd793e2c08869e93038d12e4e554 Mon Sep 17 00:00:00 2001 From: rongyichang Date: Thu, 4 Jun 2026 16:16:51 +0800 Subject: [PATCH] drivers/video: add HWCURSOR related config There is no HWCURSOR config in Kconfig, but a lot of code use it, we need to add it back. Signed-off-by: rongyichang --- drivers/video/Kconfig | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index fd7ab00701a..daced586c79 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -38,6 +38,32 @@ config FB_OVERLAY_BLIT depends on FB_OVERLAY default n +config FB_HWCURSOR + bool "Hardware cursor support" + default n + ---help--- + Enable hardware cursor support for framebuffer devices. + Set this if the video controller hardware supports a + hardware cursor. + +config FB_HWCURSORIMAGE + bool "Hardware cursor image support" + default n + depends on FB_HWCURSOR + ---help--- + Enable support for user-provided hardware cursor images. + If set, the cursor image can be set via FBIOPUT_CURSOR + ioctl command. + +config FB_HWCURSORSIZE + bool "Hardware cursor size support" + default n + depends on FB_HWCURSOR + ---help--- + Enable support for changing hardware cursor size. + If set, the cursor size can be changed via FBIOPUT_CURSOR + ioctl command. + menuconfig DRIVERS_VIDEO bool "Video Device Support" default n