Skip to content

Commit 06a28f9

Browse files
melissawenrodrigosiqueira
authored andcommitted
drm/vkms: change the max cursor width/height
This change expands the coverage for the IGT kms_cursor_crc test, where the size varies between 64 and 512 for a square cursor. With this, in addition to the cursor 64x64, this patch enables the test of cursors with sizes: 128x128, 256x256, and 512x512. Signed-off-by: Melissa Wen <[email protected]> Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Rodrigo Siqueira <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent a6ae2fe commit 06a28f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/vkms/vkms_drv.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ static int vkms_modeset_init(struct vkms_device *vkmsdev)
133133
dev->mode_config.min_height = YRES_MIN;
134134
dev->mode_config.max_width = XRES_MAX;
135135
dev->mode_config.max_height = YRES_MAX;
136+
dev->mode_config.cursor_width = 512;
137+
dev->mode_config.cursor_height = 512;
136138
dev->mode_config.preferred_depth = 24;
137139
dev->mode_config.helper_private = &vkms_mode_config_helpers;
138140

0 commit comments

Comments
 (0)