[PATCH] drm/vkms: change min cursor size to accept smaller values

Melissa Wen mwen at igalia.com
Tue Nov 29 11:33:27 UTC 2022


On 11/09, Alaa Emad wrote:
> change min cursor size of vkms driver from 20 to 10, to increase the IGT test
> coverage of vkms by enabling 32x10 cursor size subtests in kms_cursor_crc
> 
> Signed-off-by: Alaa Emad <aemad at igalia.com>
> ---
>  drivers/gpu/drm/vkms/vkms_drv.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/vkms/vkms_drv.h b/drivers/gpu/drm/vkms/vkms_drv.h
> index 0a67b8073f7e..4a248567efb2 100644
> --- a/drivers/gpu/drm/vkms/vkms_drv.h
> +++ b/drivers/gpu/drm/vkms/vkms_drv.h
> @@ -12,8 +12,8 @@
>  #include <drm/drm_encoder.h>
>  #include <drm/drm_writeback.h>
>  
> -#define XRES_MIN    20
> -#define YRES_MIN    20
> +#define XRES_MIN    10
> +#define YRES_MIN    10

LGTM

Thanks,

Reviewed-by: Melissa Wen <mwen at igalia.com>

>  
>  #define XRES_DEF  1024
>  #define YRES_DEF   768
> -- 
> 2.34.1
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20221129/c71f139f/attachment.sig>


More information about the dri-devel mailing list