Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4700199rwb; Mon, 31 Jul 2023 10:44:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlEopZ47VzZfJvWjeQfICjZ20DS9LJWS6j8VIUILEXvwPhXES5tmwe/HrhPc3Kf1vRNx+Abr X-Received: by 2002:a17:906:24f:b0:988:9b29:5653 with SMTP id 15-20020a170906024f00b009889b295653mr349540ejl.77.1690825497547; Mon, 31 Jul 2023 10:44:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690825497; cv=none; d=google.com; s=arc-20160816; b=u/1ZLS5pu77Z9f8VLOCERctgtMcyKyf+BbG2Bm5j2jQurg3iVa8h3Eo0rV/mdK+eRH ATcJVHqIVQV+gfWenyQJgbh8LnOmSE0L1/+ec+5BvOgSYKU2Wd6caBWz6mwMKuMjTlZh VajYzSF1yV90G+EOu8P4REPr8Y6H5FgKRDq9H8mTrythSjAnQCm33n07GjkLObh47Anb ZDXXPbjIsswK797WdX4me93L0IzHrN3GyUGFez1k+6IJ8TTPBrpLX39vNWFLQF/p96mb uvTNvc6plJBO2u1eVkyYKmK8orJfWgFXqg+bGD9HKXQc1AMpCVGhGTuYjZKpIPPHNUu1 X9NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=K8VUa6b/SB3mlC3TaqKSrVbDHcDgWy8ThSf2vZ0teq0=; fh=J/Dt+5ksj+PX9uhLIPmzpkM5iwULKLQDMV05GLq/DWg=; b=nvAd0VvgG1yPdTnL/UM/Vqu4ESjsQvTlQ2dMdABTFpmOebL0L9Cfzqhn9I2YoknCUZ WqMg18Bp6g6UFFdVwlPPD6A5kDoqgclG4v9VG5kaQaX2WWDdSbYabxPK8Yg2RwNPSiuN Qm8NZ3ietYdbxGiWG15Kw5t8FFE5NWLtlHEPqeVEUBZXa5LaesNT10qbhccQfLsSZ1d1 saoY1Ml6Sn//K8JlXSL0LSeP9ajNralyH12Ko2J4FIFpnUhuD2IMb03Hpyr0xJoiTYJy e+OMtNBdtFFiEFcHfGMQ7YwJp5YyZM7fC79lNtnYSeVq8ECD9IiUkodOuqj9W1NpsP85 mRhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iVwVxs57; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y20-20020a17090629d400b0099349f9c248si7434515eje.592.2023.07.31.10.44.33; Mon, 31 Jul 2023 10:44:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iVwVxs57; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233408AbjGaQ1k (ORCPT + 99 others); Mon, 31 Jul 2023 12:27:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233371AbjGaQ1c (ORCPT ); Mon, 31 Jul 2023 12:27:32 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B52DC1BC5 for ; Mon, 31 Jul 2023 09:27:10 -0700 (PDT) Received: from [192.168.2.174] (109-252-150-127.dynamic.spd-mgts.ru [109.252.150.127]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id 0168E6606FCD; Mon, 31 Jul 2023 17:26:56 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1690820818; bh=3epO/QMQFTjkV49Ea0BqvxuXzjBbmCJzO0QJfElbI6o=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=iVwVxs574lxQBIXji+t3KapEUuHgAWJm4noZ24H1GkeWlALhA/dhuYRnLHhXn85hr 0GsO4CM2/e7uawL9mH+uonCaQakYjYgV5llG0sRHbZxoMo9QKnRBwjTAhpUsLGUBMM V93iptL7F/hQcD7Qr8g0C2rpPNHOwBsYohDpbpI7lbLaNSWI6ue9zZdEDL/loka3Vs YJUmjFY7Gv9dgbMbnc+/hvi8IXTgEopyP4t3i0wlv0tVX+utY+RTwBVMdtr6rfhdNm 1oCshwmBR5EwYLxXuGAtJkkj4hprZqVgTq62aZJzv4V/KDDU37lIwWluGN8RiYfcd9 0BZmNQPtT1XdA== Message-ID: Date: Mon, 31 Jul 2023 19:26:54 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.1 Subject: Re: [PATCH v6 0/3] Add sync object UAPI support to VirtIO-GPU driver Content-Language: en-US To: Gurchetan Singh Cc: Rob Clark , Gerd Hoffmann , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel@collabora.com, virtualization@lists.linux-foundation.org, David Airlie , Chia-I Wu , Daniel Vetter , =?UTF-8?B?TWFyZWsgT2zFocOhaw==?= , Pierre-Eric Pelloux-Prayer , Emil Velikov References: <20230416115237.798604-1-dmitry.osipenko@collabora.com> <141b928d-6165-f282-b8e6-f140cb09333d@collabora.com> <4c18744d-b6cd-d517-5726-104017d0764b@collabora.com> From: Dmitry Osipenko In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/29/23 01:03, Gurchetan Singh wrote: > On Wed, Jul 19, 2023 at 11:58 AM Dmitry Osipenko < > dmitry.osipenko@collabora.com> wrote: > >> 27.06.2023 20:16, Rob Clark пишет: >> ... >>>> Now these are just suggestions, and while I think they are good, you >> can safely ignore them. >>>> >>>> But there's also the DRM requirements, which state "userspace side must >> be fully reviewed and tested to the standards of that user-space >> project.". So I think to meet the minimum requirements, I think we should >> at-least have one of the following (not all, just one) reviewed: >>>> >>>> 1) venus using the new uapi >>>> 2) gfxstream vk using the new uapi >>>> 3) amdgpu nctx out of "draft" mode and using the new uapi. >>>> 4) virtio-intel using new uapi >>>> 5) turnip using your new uapi >>> >>> forgot to mention this earlier, but >>> https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23533 >>> >>> Dmitry, you can also add, if you haven't already: >>> >>> Tested-by: Rob Clark >> >> Gurchetan, Turnip Mesa virtio support is ready to be merged upstream, >> it's using this new syncobj UAPI. Could you please give yours r-b if you >> don't have objections? >> > > Given that Turnip native contexts are reviewed using this UAPI, your change > does now meet the requirements and is ready to merge. > > One thing I noticed is you might need explicit padding between > `num_out_syncobjs` and `in_syncobjs`. Otherwise, feel free to add my > acked-by. The padding looks okay as-as, all the struct size and u64s are properly aligned. I'll merge the patch soon, thanks. -- Best regards, Dmitry