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 <rongyichang@xiaomi.com>
This commit is contained in:
rongyichang 2026-06-04 16:16:51 +08:00 committed by Xiang Xiao
parent 811eb22d58
commit 47e3f5013f

View file

@ -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