]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm: verisilicon: add max cursor size to HWDB
authorIcenowy Zheng <zhengxingda@iscas.ac.cn>
Wed, 6 May 2026 17:56:09 +0000 (01:56 +0800)
committerIcenowy Zheng <zhengxingda@iscas.ac.cn>
Fri, 22 May 2026 11:19:21 +0000 (19:19 +0800)
commit9637867d78a7bc5e76b17fe6cb0be5e054fce973
tree961907d077c67b3d47f0651efbde7173badcfe2b
parent4f2e625f3d5d27242f0f18ba106b9442d29a51ad
drm: verisilicon: add max cursor size to HWDB

Different display controller variants support different maximum cursor
size. All known DC8200 variants support both 32x32 and 64x64, but some
DC8000 variants support either only 32x32 or up to 256x256.

The minimum size is fixed at 32 and only PoT square sizes are supported.

Add the max cursor size field to HWDB and fill all entries with 64.

Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/20260506175610.2542888-2-zhengxingda@iscas.ac.cn
drivers/gpu/drm/verisilicon/vs_hwdb.c
drivers/gpu/drm/verisilicon/vs_hwdb.h