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 A30D2ECAA27 for ; Thu, 25 Aug 2022 16:12:36 +0000 (UTC) Received: from localhost ([::1]:52562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRFT9-0008Ts-LI for qemu-devel@archiver.kernel.org; Thu, 25 Aug 2022 12:12:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRFR7-0006uJ-0U for qemu-devel@nongnu.org; Thu, 25 Aug 2022 12:10:29 -0400 Received: from madras.collabora.co.uk ([46.235.227.172]:53162) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRFR4-00048z-SM for qemu-devel@nongnu.org; Thu, 25 Aug 2022 12:10:28 -0400 Received: from dellino.fritz.box (host-95-235-60-93.retail.telecomitalia.it [95.235.60.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: fahien) by madras.collabora.co.uk (Postfix) with ESMTPSA id 452256601EAC; Thu, 25 Aug 2022 17:10:22 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1661443822; bh=tGBNu3nX2fl34z6y2e0INGKhnnhj/Mza56oWzH70Eho=; h=From:To:Cc:Subject:Date:From; b=efFUcSPQrinLMFv49Jm45b3k44IeHOegq5HLi7m+CMf87/XlO6nmbPkJp+SNzWQWD JN+LsuLOs02DrKmIMNWrU6FbaKH6NhrneFLuEveWHRwLg+OxjAnvolnzPjBQWBASN+ MgGQHViMhRc0l8Z1KFlqVhwNiojqnRtdhyI9Yhqi5sH1vMZ/Yzcb2ylp45Zo58zPUw D7lbhBIo0d9448AkuqTLsfyC8ujn3WPKIETBiIGJCo//rrtjt+d8xCXwHLoWErZXhU HdCTn41yp4PHm/Xeb4S7ahSGxIzn+UNOlGdfLwMaoUvoO4FYyODX3AH5RV6FMQxMhg vyO4NTb+QP1Ug== From: Antonio Caggiano To: qemu-devel@nongnu.org Cc: gert.wollny@collabora.com, dmitry.osipenko@collabora.com Subject: [PATCH v2 0/1] virtio-gpu: CONTEXT_INIT feature Date: Thu, 25 Aug 2022 18:10:12 +0200 Message-Id: <20220825161013.385296-1-antonio.caggiano@collabora.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=46.235.227.172; envelope-from=antonio.caggiano@collabora.com; helo=madras.collabora.co.uk X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" This is a different attempt at upstreaming the work I have been doing to enable support for the Venus Virtio-GPU Vulkan driver. I believe the previous one [0] was a bit too much stuff in one place, therefore with this I would like to try a more fine-grained approach. I will just start by the CONTEXT_INIT feature as it was the first commit of the series aforementioned and the virtio-spec has been updated recently on that regard [1]. Hopefully this would also answer Gerd's comment on the previous patch [2]. [0] https://www.mail-archive.com/qemu-devel@nongnu.org/msg826897.html [1] https://github.com/oasis-tcs/virtio-spec/commit/aad2b6f3620ec0c9d16aaf046db8c282c24cce3e [2] https://www.mail-archive.com/qemu-devel@nongnu.org/msg827304.html Antonio Caggiano (1): virtio-gpu: CONTEXT_INIT feature hw/display/virtio-gpu-base.c | 3 +++ hw/display/virtio-gpu-virgl.c | 19 +++++++++++++++++-- hw/display/virtio-gpu.c | 2 ++ include/hw/virtio/virtio-gpu.h | 3 +++ meson.build | 18 ++++++++++++++++++ 5 files changed, 43 insertions(+), 2 deletions(-) -- 2.34.1