drm/vkms: enable cursor by default
authorMelissa Wen <melissa.srw@gmail.com>
Sat, 21 Mar 2020 20:37:40 +0000 (17:37 -0300)
committerRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Thu, 7 May 2020 01:51:01 +0000 (21:51 -0400)
This patch proposes a change in the behavior of the cursor to enable it as
soon as the vkms module is added. Enabling the cursor by default appears
to be an expected and more friendly behavior, especially when running IGT
tests.

Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200321203740.pg3r7f4vybruowox@smtp.gmail.com
drivers/gpu/drm/vkms/vkms_drv.c

index eef85f1..1e8b216 100644 (file)
@@ -35,7 +35,7 @@
 
 static struct vkms_device *vkms_device;
 
-bool enable_cursor;
+bool enable_cursor = true;
 module_param_named(enable_cursor, enable_cursor, bool, 0444);
 MODULE_PARM_DESC(enable_cursor, "Enable/Disable cursor support");