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 C7CBCC433E0 for ; Wed, 24 Feb 2021 16:57:54 +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 5B0E164F08 for ; Wed, 24 Feb 2021 16:57:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B0E164F08 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=alum.mit.edu 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 C20306E059; Wed, 24 Feb 2021 16:57:53 +0000 (UTC) Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) by gabe.freedesktop.org (Postfix) with ESMTPS id CDF466E059; Wed, 24 Feb 2021 16:57:52 +0000 (UTC) Received: by mail-io1-f52.google.com with SMTP id y202so2735897iof.1; Wed, 24 Feb 2021 08:57:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DiuNOE/QvBBAAkdvrkp6oqtC/Rkbc4OlZHXegrcpQ3k=; b=ZnmEDEvVDM6XRsWQSBQbWX5C1BDWIOWZlkam8UB+1bkGBb9HnT6wcHdiPCzBBerXIo 3AhE3qlyjkNzMz59JM7YMfgqct3FnURfsG09g3x9nMP3YYxZx6NKD6/4S3xnSYJvvCo7 NPMk/Fh9uMpE8SxQyt9gRvvowPeplx8Y/Wba22mXPoQ8OnDSajRUN+rZrsnfFq3SXpi5 wj1JPP4sWdTPbf78KKlTgPtg+lHDxevEUK8ZAQPYE22mEL0GhnaHHiVc0MHJFmq5OKzc rOMWnQMo0gVh2L8n8pnLNlMys+sv6odq87I8fX1C4TFbBoPP0UqUjg+7uW7wR4ZmGEVN vfEw== X-Gm-Message-State: AOAM533ksFa2ZuTd3xwEnh/HGymvNxcoIILBIQ6KPlDqHzRCOAHF1FM1 /juH/pWS9V1S5dowmLwQpJmrIzZuQik8jFLyhmE= X-Google-Smtp-Source: ABdhPJw++YnGjDUbRz7Umw0dRjch4OKZuF/xdsdZfeYsxt4hJT0NeF07vjqNmm+BhKOMs+dTDiyAM8l3Cl6vzzfveAk= X-Received: by 2002:a6b:f206:: with SMTP id q6mr25020073ioh.143.1614185872201; Wed, 24 Feb 2021 08:57:52 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ilia Mirkin Date: Wed, 24 Feb 2021 11:57:41 -0500 Message-ID: To: Alex Riesen 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" On Wed, Feb 24, 2021 at 11:53 AM Alex Riesen wrote: > > Ilia Mirkin, Wed, Feb 24, 2021 17:48:39 +0100: > > On Wed, Feb 24, 2021 at 11:35 AM Alex Riesen wrote: > > > Ilia Mirkin, Wed, Feb 24, 2021 16:10:57 +0100: > > > > The fact that you're getting lines with modetest means there's > > > > something wrong with 256x256. What if you do 128x128 -- does that work > > > > OK? > > > > > > Yes. Unfortunately in both cases. > > > > 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? 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.) Thanks, -ilia _______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau 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 58F5AC433E6 for ; Wed, 24 Feb 2021 16:57:56 +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 CA11464F07 for ; Wed, 24 Feb 2021 16:57:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA11464F07 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=alum.mit.edu Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CE3D16EAF0; Wed, 24 Feb 2021 16:57:53 +0000 (UTC) Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) by gabe.freedesktop.org (Postfix) with ESMTPS id CDF466E059; Wed, 24 Feb 2021 16:57:52 +0000 (UTC) Received: by mail-io1-f52.google.com with SMTP id y202so2735897iof.1; Wed, 24 Feb 2021 08:57:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DiuNOE/QvBBAAkdvrkp6oqtC/Rkbc4OlZHXegrcpQ3k=; b=ZnmEDEvVDM6XRsWQSBQbWX5C1BDWIOWZlkam8UB+1bkGBb9HnT6wcHdiPCzBBerXIo 3AhE3qlyjkNzMz59JM7YMfgqct3FnURfsG09g3x9nMP3YYxZx6NKD6/4S3xnSYJvvCo7 NPMk/Fh9uMpE8SxQyt9gRvvowPeplx8Y/Wba22mXPoQ8OnDSajRUN+rZrsnfFq3SXpi5 wj1JPP4sWdTPbf78KKlTgPtg+lHDxevEUK8ZAQPYE22mEL0GhnaHHiVc0MHJFmq5OKzc rOMWnQMo0gVh2L8n8pnLNlMys+sv6odq87I8fX1C4TFbBoPP0UqUjg+7uW7wR4ZmGEVN vfEw== X-Gm-Message-State: AOAM533ksFa2ZuTd3xwEnh/HGymvNxcoIILBIQ6KPlDqHzRCOAHF1FM1 /juH/pWS9V1S5dowmLwQpJmrIzZuQik8jFLyhmE= X-Google-Smtp-Source: ABdhPJw++YnGjDUbRz7Umw0dRjch4OKZuF/xdsdZfeYsxt4hJT0NeF07vjqNmm+BhKOMs+dTDiyAM8l3Cl6vzzfveAk= X-Received: by 2002:a6b:f206:: with SMTP id q6mr25020073ioh.143.1614185872201; Wed, 24 Feb 2021 08:57:52 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ilia Mirkin Date: Wed, 24 Feb 2021 11:57:41 -0500 Message-ID: Subject: Re: [PATCH 2/3] drm/nouveau/kms/nv50-: Report max cursor size to userspace To: Alex Riesen X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel , Ben Skeggs , nouveau , Dave Airlie Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, Feb 24, 2021 at 11:53 AM Alex Riesen wrote: > > Ilia Mirkin, Wed, Feb 24, 2021 17:48:39 +0100: > > On Wed, Feb 24, 2021 at 11:35 AM Alex Riesen wrote: > > > Ilia Mirkin, Wed, Feb 24, 2021 16:10:57 +0100: > > > > The fact that you're getting lines with modetest means there's > > > > something wrong with 256x256. What if you do 128x128 -- does that work > > > > OK? > > > > > > Yes. Unfortunately in both cases. > > > > 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? 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.) Thanks, -ilia _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel