From patchwork Fri Aug 26 10:47:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Caggiano X-Patchwork-Id: 12955866 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 13AC0ECAAA3 for ; Fri, 26 Aug 2022 10:52:40 +0000 (UTC) Received: from localhost ([::1]:60622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRWx4-0005cf-Vq for qemu-devel@archiver.kernel.org; Fri, 26 Aug 2022 06:52:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRWst-0002mY-A4 for qemu-devel@nongnu.org; Fri, 26 Aug 2022 06:48:23 -0400 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]:58822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRWsm-0007ht-7m for qemu-devel@nongnu.org; Fri, 26 Aug 2022 06:48:14 -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 D1EAA6601EBC; Fri, 26 Aug 2022 11:48:09 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1661510890; bh=Tmf4a51G1LFR9pab2kzOyWb3iQq7jEzyPdyTNh6cRjo=; h=From:To:Cc:Subject:Date:From; b=j3NlKDKDcALsN84h1LDe2/P4e+iGlDuwVON0snrkgit7B21eTCZn2mIOyGFVvXF+U xuWO56RaEH+mjPNbjazDfw4H0Lx+8RmLPDpF2+fSUz0S2OYyTUqc0iNcBjiNJHwI9H hMrGoCqwARQ/0fXW2+41ZezGrwPxYz7JW70cwMbINuMqnWC0VEgYumE4yw7QhkWnKE WyX2EqqFlojqB8+t/lKfer8qNLvh7yYry3lLCiTtMK6Duvrjv/p9ORPKnw/89cight ae6jIhl+g95AuC9UrWMuRADiBfHerb2J19N2L5gV1PBnhcneUUNgbcX+eMNnW/4hdO YkiMrMZtZPVdw== From: Antonio Caggiano To: qemu-devel@nongnu.org Cc: gert.wollny@collabora.com, dmitry.osipenko@collabora.com Subject: [PATCH v4 0/1] virtio-gpu: CONTEXT_INIT feature Date: Fri, 26 Aug 2022 12:47:58 +0200 Message-Id: <20220826104759.422925-1-antonio.caggiano@collabora.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1098:0:82:1000:25:2eeb:e5ab; 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 | 16 ++++++++++++++-- hw/display/virtio-gpu.c | 2 ++ include/hw/virtio/virtio-gpu.h | 3 +++ meson.build | 5 +++++ 5 files changed, 27 insertions(+), 2 deletions(-)