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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C128DC43334 for ; Fri, 3 Jun 2022 14:15:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0AC5710E31B; Fri, 3 Jun 2022 14:15:10 +0000 (UTC) Received: from mail-4323.proton.ch (mail-4323.proton.ch [185.70.43.23]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2EA2F10E31B for ; Fri, 3 Jun 2022 14:15:09 +0000 (UTC) Date: Fri, 03 Jun 2022 14:14:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail2; t=1654265706; x=1654524906; bh=XO1webNqxfe1+pnbmLb9x34GDSV9XrARVVzLWGziXJY=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=yuDlgvlq1C2UtTnJaFEEKlHEkkRHy1x4kYHd4Va1bnMjmBb3UjaLmmlkZ0IXMx1Zu 7rL1JxT4VCh4ByC1yMKq37mtyY1j23KtVJt3ZEl9NuGM1rOqKwW87njXkq/Osw7MWf z9L78X+GeAOI40pRWijLShUHRCZWJ544xn2iP6eGHy5W24rmYVyjNLxCqktAbJbjC6 oPHv+pWri5O1NJkyYKwhCc1vjNPc0uVMaiEDYnIo2g/d4wc71FTS2ab0QEC7sTek7x 1ITOyK9fooVnfmehhW1qegFjmUXMmLFnaJ8Cm4Ms0WUhKASCj68DQ3pQAmv0MNw9E1 4jbJVYFsAnA5g== To: Zack Rusin From: Simon Ser Subject: Re: [PATCH 0/6] drm: Add mouse cursor hotspot support to atomic KMS Message-ID: In-Reply-To: <20220602154243.1015688-1-zack@kde.org> References: <20220602154243.1015688-1-zack@kde.org> Feedback-ID: 1358184:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Reply-To: Simon Ser Cc: krastevm@vmware.com, David Airlie , dri-devel@lists.freedesktop.org, Gurchetan Singh , Hans de Goede , Pekka Paalanen , Gerd Hoffmann , Thomas Zimmermann , wayland-devel , mombasawalam@vmware.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, Please, read this thread: https://lists.freedesktop.org/archives/dri-devel/2020-March/thread.html#259= 615 It has a lot of information about the pitfalls of cursor hotspot and other things done by VM software. In particular: since the driver will ignore the KMS cursor plane position set by user-space, I don't think it's okay to just expose without opt-in from user-space (e.g. with a DRM_CLIENT_CAP). cc wayland-devel and Pekka for user-space feedback. On Thursday, June 2nd, 2022 at 17:42, Zack Rusin wrote: > - all userspace code needs to hardcore a list of drivers which require > hotspots because there's no way to query from drm "does this driver > require hotspot" Can you elaborate? I'm not sure I understand what you mean here. Thanks, Simon