Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp656785ybt; Fri, 10 Jul 2020 09:06:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzSzwZQiNQm3NE+ONy1qWmg13frdgyrU902EPINNaC9ZGRDu4KeqKR1QQoN/hmWCVgFOTb X-Received: by 2002:a17:906:4acc:: with SMTP id u12mr37399011ejt.358.1594397183481; Fri, 10 Jul 2020 09:06:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594397183; cv=none; d=google.com; s=arc-20160816; b=Txi0Lch30WDGBuJjKt98fe8YmTK6ypY0KMyPmjYWp9VbDAg3n8o0viB9XBF+sPlrab uecqSQQVucDq0uvsJsWhLoiVHuuy26gedB3TVz3ZLTadVAoxdf0w4GiDtSdaiuPHeYrx iFR/xsW9Cp2h80wXu1f2AozyUAosAZFrCUw+AwmNSHPUKXcMICzbrdzMiWUvYhjyaEFa d+7hyeAYNSQb/0jvJ8zZ0F51broIqrs1cmXr0H2guKxT+AYS8b/uWFhfToLKCcsyAJsM Jgg5FPsU94iUtOE5w1zwg9BXX+AHqhDb042RdN4nBR+22XzSrWjJzqY4sdQavqUKwjKg aGAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=HU7/byzDdGrFRngwJ2Ihe/2za95z2ZBIDy+mwg/mTHc=; b=F2NhxLh0b6NUtmPE3gpkWswePhOFcagKaNv6LF75mIWlb7oxAmDB7ob9PErClTOR/U m77PMgJLEp0jfGAMuIy4uaiqCeLonMmaBnnAhvv2BZw3M7Zv9oqxWwsNpn485ZOHkHQr 4u3eJviB37ZxpAjYHVxeIe7jdOaJRvFwQUKs9uOOUlLfEiU02OnSzoP5Xzo7wzSSS1ZW 75AwOAjTJsBU5392/iji0NOksUmE603Z/mLPzGV5csKYEhxKydWR3jKbkaGycXP3lbya 85L+fr3Zvl2HV1/dxkE5WgDleF4YpAZIblZ3YHzczDAQ7giT7LgyV2bXVI1Fhz+IsXpW XU+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="MBl7FU/y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cf15si3984372edb.350.2020.07.10.09.05.59; Fri, 10 Jul 2020 09:06:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="MBl7FU/y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727943AbgGJQDW (ORCPT + 99 others); Fri, 10 Jul 2020 12:03:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727074AbgGJQDW (ORCPT ); Fri, 10 Jul 2020 12:03:22 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33A2AC08C5CE for ; Fri, 10 Jul 2020 09:03:22 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id q15so6696951wmj.2 for ; Fri, 10 Jul 2020 09:03:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=HU7/byzDdGrFRngwJ2Ihe/2za95z2ZBIDy+mwg/mTHc=; b=MBl7FU/yIvBaWy3Kyuc5jYhBPOiReIKPfgPlLvR22C7n7X3DdznB9cjx/N2tusWiTx ediyqviCImtW/WnIxtKTDGcj1XtOcoIL3ALjFXoMeqgjfDFPTIkXOXr934Au7jXhrB1J swtgAkV/JMlNQG4xrMEKuCpfH1zpJa2bECdWq/ChqdGJ5O6mrgS8LLpmtHJIY8yjnOL3 H8nEesxLsnSFscOl3I0A/D0WQRPny1dCB9oHXH11hmFfOG4tfjOLpFKaO/7ccswEhKQs uwHeE2kcw3xLOFIy1ttEVf56XhirUAddlN68BYFFrzIw97QeC1vQveR6wb25QwXldz+o wTyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=HU7/byzDdGrFRngwJ2Ihe/2za95z2ZBIDy+mwg/mTHc=; b=eMM9wMWpJiQl1TWRVTr9XQHqHYW5g/t+Cykcov2jo6hsQ9EzRA8UEzv67D6dj7E9Z1 EnpMDME2/89U0zNXxAr7YqUj8VfLW+pz8La6UpXiJn94MQBoXO4wRlu+0m7s8vCdrEpx l4W41e71q1H0JOxWmoVHW1y9rqqsF+RsIos/N+snRMKXz9nN5BpCq7nMZZ1lApcRK0A/ aC7ZVYyRPWVc6XhyxYwTiO6smah/c0kQJOYLVpQPVWJWxpuYlzJ5QZCMWW2iTNT4wqsc isiNwbpE+EWO4v7ykYiTQCg9cXekjNC/i0mbJFzOFniR4BnUsvGYIPl3lkYiVmSzyud/ Ghcg== X-Gm-Message-State: AOAM532IKJ+IquhOXmJsogmyN7xKkFovfDgPY94ELDyrEbweNvZDIEMM LBmHqSBW//N1P2WsxtfQixL0ab5X+30= X-Received: by 2002:a1c:96ce:: with SMTP id y197mr5741624wmd.86.1594396999997; Fri, 10 Jul 2020 09:03:19 -0700 (PDT) Received: from smtp.gmail.com (a95-92-181-29.cpe.netcabo.pt. [95.92.181.29]) by smtp.gmail.com with ESMTPSA id t4sm10529773wmf.4.2020.07.10.09.03.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 09:03:19 -0700 (PDT) Date: Fri, 10 Jul 2020 13:03:13 -0300 From: Melissa Wen To: Rodrigo Siqueira , Haneen Mohammed , Daniel Vetter , David Airlie , Rodrigo Siqueira Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel-usp@googlegroups.com, twoerner@gmail.com Subject: [PATCH] drm/vkms: change the max cursor width/height Message-ID: <20200710160313.xjoz6ereyma5vkc3@smtp.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/gpu/drm/vkms/vkms_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/vkms/vkms_drv.c b/drivers/gpu/drm/vkms/vkms_drv.c index 1e8b2169d834..57a8a397d5e8 100644 --- a/drivers/gpu/drm/vkms/vkms_drv.c +++ b/drivers/gpu/drm/vkms/vkms_drv.c @@ -133,6 +133,8 @@ static int vkms_modeset_init(struct vkms_device *vkmsdev) dev->mode_config.min_height = YRES_MIN; dev->mode_config.max_width = XRES_MAX; dev->mode_config.max_height = YRES_MAX; + dev->mode_config.cursor_width = 512; + dev->mode_config.cursor_height = 512; dev->mode_config.preferred_depth = 24; dev->mode_config.helper_private = &vkms_mode_config_helpers; -- 2.27.0