Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4261587rwr; Mon, 8 May 2023 05:29:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6L7PwQg0JrUH06KZkSieYT2BrZqQzglfmDngi2ld/MxSejSRmcZ5jyVpyl95Fapk6TWBXR X-Received: by 2002:a05:6a21:3396:b0:100:74c5:f916 with SMTP id yy22-20020a056a21339600b0010074c5f916mr4032978pzb.40.1683548996756; Mon, 08 May 2023 05:29:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683548996; cv=none; d=google.com; s=arc-20160816; b=ERchzmy2vh46Bi1P5H9dTqTEeWot5G/cXh9AczaxwUFFkrLuRAas/U5vIscjW0+ZJ1 fTEgEYum0czGsVIqwk0kaZ/rB2BDMZlq6vxdI2uj85Umrf8JNSYSuEptSSD1nUCuziNZ JaQSOhRPkFKU5Chysi1ElwVzrzm1S+Gqr5EcgkyaPAz7YKB3o2JK00l1xxmtpzSe7NAB DFWUcCN1wShD+BSyN/Ad9CR5KXpiUHiOhejyQ9CyLgHM9prQuCu6CtHv+BYlQU8OsoE3 ojtWVoF0v4xUIRqRHDRxLSM8nZSrtCuL/0+X005xZBVBweoTgwyG7UsqC7TO60aQZ5Z3 888g== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=4H6p4VduMYIUKW3Sxtn/ThoLiNIfLujA/KHbYc5Cjgc=; b=YZfMOr5Pdh+lhIKwbZqb/lHtxIpMZQhDmlKHSO7rhw1RjjNWZlkAtFxQCQhWu+x6r0 4av1Wlr7m85gfh9I4ODnZOggkwSUDVC+FM3XZVJfsBTFqu5JlN6lsihTCW/02DHPTqtH lxJR3ZSxlmQeLVgzZ1PCxffGkJrNU0p4RWNYmEKIkWtKyFervyhJ0cVNtCtTX1Q0QEQD n4JpFPbm0yLERlOfqzwGPvWUGgUFk9LZfTrxh7LQjhztnVmpqZuSmAY20kEtyIckht8q yFa/BgRo35E5Eaf3N5kGtnfaK2WtZi5qWrPIrA20Co0brZAwDFZtP1DsprHsjAiO9LzC TFuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=knEdXetd; 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 i27-20020aa796fb000000b0063d2b810fc6si8460285pfq.305.2023.05.08.05.29.42; Mon, 08 May 2023 05:29:56 -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=knEdXetd; 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 S233966AbjEHMQ5 (ORCPT + 99 others); Mon, 8 May 2023 08:16:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233822AbjEHMQz (ORCPT ); Mon, 8 May 2023 08:16:55 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A730324017 for ; Mon, 8 May 2023 05:16:54 -0700 (PDT) Received: from [192.168.2.166] (109-252-144-198.dynamic.spd-mgts.ru [109.252.144.198]) (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 D5E1A6602B7B; Mon, 8 May 2023 13:16:51 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1683548212; bh=5nqNokABTRT0sp0oo3g/iVhuPBpT+GIHDLs8TsjbMto=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=knEdXetdP3Jvn1n8N7fq/9YUonET0XNfXXRoWQKjAZBiPd2iy1NZkmkunBgCBwqmE B/kuXbGRro/Ro3IuUBIoncNAe0IsmYanqutij7x6GeIJiKIwATdXJBpkl+uKdp8Ae8 eVCzR/RRDQwKvgE9+bPw4zqmm39fAFWpOZ7u26nhCjtgXd4MBCAqlRxzb0FV6D2jk3 P4mMcSVeAyg1uouEMarKSQxUiiNHyXjnBOF30Ue/Xq7CYm/Jv93i0kh2m4ValPfy3l E/2ng3PqfnOXZ80Hilb5uiS2xxsZFeIT8peeharNPLdJhFct80mNEydDDKaXr8p3ac 7R55Umm3hecig== Message-ID: Date: Mon, 8 May 2023 15:16:49 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v6 0/3] Add sync object UAPI support to VirtIO-GPU driver To: Gerd Hoffmann Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel@collabora.com, virtualization@lists.linux-foundation.org, David Airlie , Gurchetan Singh , Chia-I Wu , Daniel Vetter , Rob Clark , =?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> <6g5bonxpnlw7pcyt3pqrcty2exknpesst4i3v24nqxi3fy5gkr@5rej6zbfadta> Content-Language: en-US From: Dmitry Osipenko In-Reply-To: <6g5bonxpnlw7pcyt3pqrcty2exknpesst4i3v24nqxi3fy5gkr@5rej6zbfadta> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 5/3/23 09:51, Gerd Hoffmann wrote: > On Mon, May 01, 2023 at 06:38:45PM +0300, Dmitry Osipenko wrote: >> On 4/16/23 14:52, Dmitry Osipenko wrote: >>> We have multiple Vulkan context types that are awaiting for the addition >>> of the sync object DRM UAPI support to the VirtIO-GPU kernel driver: >>> >>> 1. Venus context >>> 2. Native contexts (virtio-freedreno, virtio-intel, virtio-amdgpu) >>> >>> Mesa core supports DRM sync object UAPI, providing Vulkan drivers with a >>> generic fencing implementation that we want to utilize. >>> >>> This patch adds initial sync objects support. It creates fundament for a >>> further fencing improvements. Later on we will want to extend the VirtIO-GPU >>> fencing API with passing fence IDs to host for waiting, it will be a new >>> additional VirtIO-GPU IOCTL and more. Today we have several VirtIO-GPU context >>> drivers in works that require VirtIO-GPU to support sync objects UAPI. >>> >>> The patch is heavily inspired by the sync object UAPI implementation of the >>> MSM driver. >> >> Gerd, do you have any objections to merging this series? > > No objections. Can't spot any issues, but I also don't follow drm close > enough to be able to review the sync object logic in detail. > > Acked-by: Gerd Hoffmann Thanks, I'll work with Gurchetan on resolving his questions and will apply the patches as soon as he'll give his ack. -- Best regards, Dmitry