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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 6D235CD80B0 for ; Tue, 10 Oct 2023 11:58:27 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqBMg-00078Q-FU; Tue, 10 Oct 2023 07:57:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqBMc-00072J-Qb for qemu-devel@nongnu.org; Tue, 10 Oct 2023 07:57:26 -0400 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqBMZ-0000N4-8N for qemu-devel@nongnu.org; Tue, 10 Oct 2023 07:57:26 -0400 Received: from [192.168.2.166] (109-252-153-31.dynamic.spd-mgts.ru [109.252.153.31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id A113366072B4; Tue, 10 Oct 2023 12:57:19 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1696939041; bh=wJYs30MEiuAzJZmbMZ3VI4oXBaOgMnqSjxIcpU2jV2M=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=DpsPJxqSR+ASF1Kug9+XAPPcWk91pF6GiOxnNLPkP+PruSexjirRJIrWkU3RkAmJf JumiJK2Pqe8x7/D7NAA96dUAgKk5KhQvKiWi02ucceAg6Ad/YNtWydmNcySptbcgNE ooovbQlD9+dty/rlR0XPR+PNtpx0ZaunHXjwotdrgdaPxuI/M4sQFyHct7JNLtXY3f Q8TtXPp69qYhlXU3btZ8s76Xi7SMr80BwW1hpKIyK/XiUfKs//8rYU2G78kTD/4e5b szKx1wvR0A3OiB08tiPxm2tAB6hvTSEiTas0cUe3A5ZHyHPSzz6qcFiELDjoBWOqNu HsspeywEE/rLA== Message-ID: Date: Tue, 10 Oct 2023 14:57:17 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [QEMU PATCH v5 00/13] Support blob memory and venus on qemu Content-Language: en-US To: Huang Rui , Gerd Hoffmann , "Michael S . Tsirkin" , Akihiko Odaki , Stefano Stabellini , Anthony PERARD , Antonio Caggiano , "Dr . David Alan Gilbert" , Robert Beckett , =?UTF-8?Q?Alex_Benn=c3=a9e?= , qemu-devel@nongnu.org Cc: xen-devel@lists.xenproject.org, Gurchetan Singh , Albert Esteve , ernunes@redhat.com, =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Alyssa Ross , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= , Xenia Ragiadakou , Pierre-Eric Pelloux-Prayer , Honglei Huang , Julia Zhang , Chen Jiqian References: <20230915111130.24064-1-ray.huang@amd.com> From: Dmitry Osipenko In-Reply-To: <20230915111130.24064-1-ray.huang@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1098:0:82:1000:25:2eeb:e5ab; envelope-from=dmitry.osipenko@collabora.com; helo=madras.collabora.co.uk X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-3.339, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 9/15/23 14:11, Huang Rui wrote: > Hi all, > > Antonio Caggiano made the venus with QEMU on KVM platform last > September[1]. This series are inherited from his original work to support > the features of context init, hostmem, resource uuid, and blob resources > for venus. > At March of this year, we sent out the V1 version[2] for the review. But > those series are included both xen and virtio gpu. Right now, we would like > to divide into two parts, one is to continue the Antonio's work to upstream > virtio-gpu support for blob memory and venus, and another is to upstream > xen specific patches. This series is focusing on virtio-gpu, so we are > marking as V4 version here to continue Antonio's patches[1]. And we will > send xen specific patches separately, because they are hypervisor specific. > Besides of QEMU, these supports also included virglrenderer[3][4] and > mesa[5][6] as well. Right now, virglrenderer and mesa parts are all > accepted by upstream. In this qemu version, we try to address the concerns > around not proper cleanup during blob resource unmap and unref. Appreciate > it if you have any commments. Venus uses blob buffers. In order to display Venus/VK application using GL display server, the VIRTIO_GPU_CMD_SET_SCANOUT_BLOB must be supported. Otherwise Venus itself isn't practically useful because you can't run VK application with a usual Linux DE because Venus will error out due to the unsupported command. The VIRTIO_GPU_CMD_SET_SCANOUT_BLOB support needs to be a part of this series, IMO. Can we add it to the next patchset version? -- Best regards, Dmitry