From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6782BC433E0 for ; Wed, 24 Feb 2021 17:03:07 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26CD064F04 for ; Wed, 24 Feb 2021 17:03:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26CD064F04 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=cetitec.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=nouveau-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 354B76EB15; Wed, 24 Feb 2021 17:03:06 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5C30D6EB13; Wed, 24 Feb 2021 17:03:04 +0000 (UTC) Received: from mail.cetitecgmbh.com ([87.190.42.90]) by mrelayeu.kundenserver.de (mreue107 [213.165.67.113]) with ESMTPSA (Nemesis) id 1N8GAQ-1lsXVY3lU8-014BDu; Wed, 24 Feb 2021 18:02:48 +0100 Received: from pflvmailgateway.corp.cetitec.com (unknown [127.0.0.1]) by mail.cetitecgmbh.com (Postfix) with ESMTP id CE6931E01E7; Wed, 24 Feb 2021 17:02:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at cetitec.com Received: from mail.cetitecgmbh.com ([127.0.0.1]) by pflvmailgateway.corp.cetitec.com (pflvmailgateway.corp.cetitec.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id crA7MmH7Nrc8; Wed, 24 Feb 2021 18:02:47 +0100 (CET) Received: from pflmari.corp.cetitec.com (8-usr-pf-main.vpn.it.cetitec.com [10.8.5.8]) by mail.cetitecgmbh.com (Postfix) with ESMTPSA id 74E1D1E01E6; Wed, 24 Feb 2021 18:02:47 +0100 (CET) Received: by pflmari.corp.cetitec.com (Postfix, from local account) Date: Wed, 24 Feb 2021 18:02:47 +0100 From: Alex Riesen To: Ilia Mirkin Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:m8aAXarQw29INPcCiAgbdhio0t8/aa3bejDz7AmScCE56SBxTUs 0338x89JWxzK3AOgJIuYG+DmB1N6gNyJNZhAnq8IjIxWFD29ZlGRl+wOfqLL9a3jCwNUhnx e1Z6CYtadKxdNNb+tlpzGCwe09alB8qpDd06PaIglKILtvyMlkZGO0c1ObUjdolt9+TpVz1 Ea8odAiBUQE116rfcwkQA== X-UI-Out-Filterresults: notjunk:1;V03:K0:vCIRcVpt2tU=:QCbb9kIRJmzls8mByGpaEr 8bRYTGuEXAFzcE9XnrgVrGmVq95BCAc6TIOOAqu14xQJg21QsK0F1UDz0bQ/C1WdxHjUPLUg3 GcO0O26g4BOZWW7k24k0dt8I6mySHXg2z48a32D0kLcUO0Vr7jb/Pq6l60+XHCbh0wyNZbgd9 ZRhjqeGdI8N1Yjxt7hCVjW3AEiWdvUtDNVG9h7xGfLlUUkFYej5l0RyFJ3/UzdQP7hxQcRlyS lNsKNPGnRGACXcUSbE5cdNfmCczAwjPVhEV1v7sVmF8SjufpafYliJ64BcXrmWKEb0Ggd7qdr w2V/hGkY11wkiQUiYaCKmqrnQPq/ICq4RknnF/RN5Dfxrxdm8FtfQmiWwLwulEx500NEXya7q lEBXyRU/lzVdyWRdbM5DcSRaUaX0j4ttxz4/YhzV4H0SO0oYtZucn+6zG9U3ckJL/8c+ZM4TG C0f8PCBx4g== Subject: Re: [Nouveau] [PATCH 2/3] drm/nouveau/kms/nv50-: Report max cursor size to userspace X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Ser , dri-devel , Ben Skeggs , nouveau , Dave Airlie Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" Ilia Mirkin, Wed, Feb 24, 2021 17:57:41 +0100: > On Wed, Feb 24, 2021 at 11:53 AM Alex Riesen wrote: > > Ilia Mirkin, Wed, Feb 24, 2021 17:48:39 +0100: > > > Just to be crystal clear -- are you saying that 128x128 works or does > > > not work? (You said "yes", which would imply it works OK, but then you > > > said both cases, which would imply doesn't work since 256x256 doesn't > > > work?) > > > > Modetest with 128x128 cursor works. Without damage to the cursor: modetest > > shows normal cursor in vanilla v5.11. Modetest also shows normal cursor in > > vanilla v5.11 with the commit reverted. > > But modetest with 256x256 doesn't work (correctly) right? Or did I > misunderstand? Right. That's why I was asking if I did everything right: it was just corrupted in both kernels. > All the patch does is allow those large cursors to be used, which gets > reported via drm APIs and modesetting picks the largest cursor > available. (And actually I think it's even not required to use the > large cursors, it just controls what's reported in the defaults to > userspace.) Maybe something in X code is not prepared to handle the kernel reporting large cursor support? Even though 128x128 is pretty large, and I don't think I even use that large cursors in X configuration. How can I check? _______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau