Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1074825rda; Mon, 23 Oct 2023 01:19:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFpiwx845p6BFRyxKMSx3su3mvuRUPS7Wfbt+61IOnYjVTuaf3QXODaWU5yt795nbllMmYj X-Received: by 2002:a1f:1997:0:b0:496:2282:5c2f with SMTP id 145-20020a1f1997000000b0049622825c2fmr6181191vkz.6.1698049179711; Mon, 23 Oct 2023 01:19:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698049179; cv=none; d=google.com; s=arc-20160816; b=IaDAFCCjx5DyIjPSBhiWmC2Ros1JksbEwv1moNQvdgy7QIiYuAyQQXVg3MZD1XlX16 v7AmjjW0CelhrK9gpGWRJVtRX2GoZ3NQXidzsWz5kBHUDhy72YHiFTLZ94OIvQHQYEz9 0hTDk4nVgnhNCGza5vepMCCTpHLu1Pk/iYtpZYAxtmJa1ZkDWWTUrpi9wNJPaX1OUFRH oThQvPI0VM5DgGmdNxDlxV5fvHDy8Xqi9EHfDrJIMkPa0sb1Obuadgk0Da3N64dO03rR OFtx8WBHfZcAduftfOV+83aFgo1xq3SGWZ60ZET3CQPEiUXcNxpa6gRctvA1xNXFJtf4 FqCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :date:dkim-signature; bh=WxADqybr844I3oyxhgF11CfEL7UzS7ZR4cFdELQGNvc=; fh=GCFfNAxQ+f1BicWS9ngqtYx3aAiVC2dqUTOn0p69/iI=; b=UGea6crc5acYZn74mT7A8VzqRTIpODTbrSxuw7amk9gLXDJrhLulExMln2T7faVqLc btMavIiWLNZHtBL1BERxahv/NMhmMN33wyH6RmF9V/UzhgEOBLsoXPgNLxx5xD7NcgLx +66frWimgbM82A2dlOkgYezVKjfSOCZdo6zP+LDdr7Ku/BfkuKHMwuUJxKUqcRwMVTWa Inhuse5IdX+7PgpF9FBAhSn658+dABItnfbo1zONxjpTKpSPdEWAgkoxkIVvbQJvc8zL AcXtldjqYFI5QWN08Uwj31KFRMmvT7Ww0k8DbiL+4Uc1GTMBkWMQykObuEgZHY/3vU2B qHKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail2 header.b=U2RcwxLU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id q27-20020a63f95b000000b0055b640a6b3csi6038002pgk.884.2023.10.23.01.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 01:19:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail2 header.b=U2RcwxLU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id C8B888060C8C; Mon, 23 Oct 2023 01:19:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229514AbjJWITV (ORCPT + 99 others); Mon, 23 Oct 2023 04:19:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjJWITU (ORCPT ); Mon, 23 Oct 2023 04:19:20 -0400 Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B455C4; Mon, 23 Oct 2023 01:19:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail2; t=1698049156; x=1698308356; bh=WxADqybr844I3oyxhgF11CfEL7UzS7ZR4cFdELQGNvc=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=U2RcwxLU7ur57UbIqCUc41rPeN8/K52RWTLgORhgJU5QCGJ7yuP/p1Xi0EqVjMKAW htgDguF11LRmmTvNhgmHoWbDlWHHq+nQnEHLaJAHT4svQzQszctKAuxU9jcXg88xeW /r2ObbAxjn+pX9LpZfk8L9RoxG1aw0Sj7i6a3cEfZXXbMmPTGUNkHqYZbxBv0yVjvM gbTu505EB44iV5R0BwC6vJmBbDIR8ChlOn9NLzI1ZWR4hajxOIzWT2zrQkcSw4/Usw EsgsAcaN63gmyTSJc7XKGcWmJi9D+KDCEIwpQtvoHTOf0n7dSJHFC02fFuln/MkBmO eYnQkIKLYP0Ig== Date: Mon, 23 Oct 2023 08:19:05 +0000 To: Albert Esteve From: Simon Ser Cc: qemu-devel@nongnu.org, zackr@vmware.com, linux-doc@vger.kernel.org, dri-devel@lists.freedesktop.org, Maxime Ripard , iforbes@vmware.com, Maarten Lankhorst , Chia-I Wu , Thomas Zimmermann , Hans de Goede , Matt Roper , David Airlie , banackm@vmware.com, Rob Clark , javierm@redhat.com, krastevm@vmware.com, spice-devel@lists.freedesktop.org, Gurchetan Singh , Jonathan Corbet , David Airlie , virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, mombasawalam@vmware.com, Daniel Vetter , ppaalanen@gmail.com, VMware Graphics Reviewers , Gerd Hoffmann Subject: Re: [PATCH v6 0/9] Fix cursor planes with virtualized drivers Message-ID: <219B7sJmmuzo8lj-2i5F6y0pc8XM03X6NdxHUq_R76N71AcTptEPcpjKLO9Rutriw88YtJDRNqibuR-YICIkhPnrBnQSM-Uu9YCc2uZoOiM=@emersion.fr> In-Reply-To: References: <20231023074613.41327-1-aesteve@redhat.com> <-ngmaSLF2S5emYjTBWcLRNzvJRoe_eZ-Nv9HQhE6ZLuK8nIE2ZbfVh2G2O2Z41GoIFIRpts0ukEtFXUx8pNAptmrZBhlXxaQGykx_qCZ_9k=@emersion.fr> Feedback-ID: 1358184:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 23 Oct 2023 01:19:35 -0700 (PDT) On Monday, October 23rd, 2023 at 10:14, Albert Esteve = wrote: > On Mon, Oct 23, 2023 at 9:55=E2=80=AFAM Simon Ser w= rote: >=20 > > On Monday, October 23rd, 2023 at 09:46, Albert Esteve wrote: > >=20 > > > Link to the IGT test covering this patch (already merged): > > > https://lists.freedesktop.org/archives/igt-dev/2023-July/058427.html > >=20 > > Hmm. IGT should not be merged before the kernel, because as long as the > > kernel is not merged there might be some uAPI changes. >=20 > Right, but uAPI header was not updated on the IGT side. As per suggestion= of the > maintainers, I added a static variable that matches the definition on thi= s patch: > https://lists.freedesktop.org/archives/igt-dev/2023-August/058803.html >=20 > +/** > + * Clients which do set cursor hotspot and treat the cursor plane > + * like a mouse cursor should set this property. > + */ > +#define LOCAL_DRM_CLIENT_CAP_CURSOR_PLANE_HOTSPOT=096 >=20 > Once this patch gets upstreamed, the localized definition will be removed= , > replaced by the real one. What if this patch gets delayed and another patch using the same number is merged into the kernel first? What if someone finds a design flaw in the uAPI and it needs to be completely changed? The IGT test would then be completely broken. As a rule of thumb: never merge user-space patches before kernel. As soon as the kernel part is merged, it's fine to locally copy definitions if desirable. > > > Mutter patch: > > > https://lists.freedesktop.org/archives/igt-dev/2023-July/058427.html > >=20 > > Seems like this link is same as IGT? Copy-pasta fail maybe? >=20 > Ah yes, my bad, this is the correct link: > https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3337 Thanks!