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 4243DD68BF2 for ; Sun, 17 Nov 2024 10:12:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C9E7810E255; Sun, 17 Nov 2024 10:12:53 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=collabora.com header.i=dmitry.osipenko@collabora.com header.b="g+oUauBf"; dkim-atps=neutral Received: from sender4-pp-f112.zoho.com (sender4-pp-f112.zoho.com [136.143.188.112]) by gabe.freedesktop.org (Postfix) with ESMTPS id EBFD510E255 for ; Sun, 17 Nov 2024 10:12:52 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; t=1731838362; cv=none; d=zohomail.com; s=zohoarc; b=ZyczvdXt27uh8PUxu6O8q1jXGx4ZLmNBfCAnmwpv4WUs5QX3I5CL4pkvnXM92pGZUWl7jyhaNMCvp7kHrxMgSyLbFYrUZp9H0uFtklUkiSPOgt6OsoD/Jugdgjsxu/f8UpBUd7eaOWRJHc0iERsbbQA4LHJBr+0PB50I4TsXyj4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1731838362; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=NyxhRCsognRghJgqS/SCBGOjSPC/p2cFFkjhxwiJBwo=; b=dDepkeOcFxx58tpeHhyY8wzyuuGFmWgZP4f40aFcxZSDeGJvSjrO/fPRbnGaLHwAeRDaOqxguXQ0EPXa6+n9q7RqUw+D/2CM+UXw+mYbYzWTJ6DGNLq6AWUuB6wKuhmd/7zMN8bu0i5u+ywzXKv8DZ327mcjCptPOt67lsEjUsM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=dmitry.osipenko@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1731838362; s=zohomail; d=collabora.com; i=dmitry.osipenko@collabora.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:From:From:To:To:Cc:Cc:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=NyxhRCsognRghJgqS/SCBGOjSPC/p2cFFkjhxwiJBwo=; b=g+oUauBfMxozbA15jbrurUOtFlfc9Q/FkLvfb2Nj8apqpjRnJz93RcKqzabAmZM6 +hU31mb8FH1DTOgk6rkdmffbBm+ZPgflRUlRaDyRfkUK74UYhD2HAsmYGrK1DxHX9cX gQVM/ZoWcMqyPBqBh2yxiHecIOmiDqqfN/aXz/sA= Received: by mx.zohomail.com with SMTPS id 173183836006315.941452786053674; Sun, 17 Nov 2024 02:12:40 -0800 (PST) Message-ID: Date: Sun, 17 Nov 2024 13:12:35 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/2] drm/virtio: Use drm_gem_plane_helper_prepare_fb() From: Dmitry Osipenko To: David Airlie , Gerd Hoffmann , Gurchetan Singh , Chia-I Wu , Rob Clark , Pierre-Eric Pelloux-Prayer , Kim Dongwon , Kasireddy Vivek Cc: dri-devel@lists.freedesktop.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, kernel@collabora.com References: <20241020230803.247419-1-dmitry.osipenko@collabora.com> Content-Language: en-US In-Reply-To: <20241020230803.247419-1-dmitry.osipenko@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ZohoMailClient: External 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 10/21/24 02:08, Dmitry Osipenko wrote: > From: Dongwon Kim > > Use drm_gem_plane_helper_prepare_fb() helper for explicit framebuffer > synchronization. We need to wait for explicit fences in a case of > Venus and native contexts when guest user space uses explicit fencing. > > Signed-off-by: Dongwon Kim > [dmitry.osipenko@collabora.com>: Edit commit message] > Signed-off-by: Dmitry Osipenko > --- > drivers/gpu/drm/virtio/virtgpu_plane.c | 4 ++++ > 1 file changed, 4 insertions(+) I'll apply this patchset tomorrow if nobody has more comments to add. -- Best regards, Dmitry