From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.3397.1649406221985678434 for ; Fri, 08 Apr 2022 01:23:42 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cMRl6Uo/; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649406221; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lYYYRIMXOH0mFNjC9TSzxmmVpH/l1AK+Sp6ld0ttaMo=; b=cMRl6Uo/9mzs2bDyxGdHNBPzcc65GCX2iYhxDWoeoT95bcAK/mIhf7vcIVCPFzEa9WV9SW E8N7F96GIQdBhmOxtVHH3lQdNssiTqQKdZ6oXL3VhKo2CLvg+uJqMzxhoqAtJjJ7Yk4uM5 ro5BSgTqf/6Mq5b50iSC7OyKCELAq3w= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-100-1-Jx2g1CM0CSo9NGlVFD6g-1; Fri, 08 Apr 2022 04:23:35 -0400 X-MC-Unique: 1-Jx2g1CM0CSo9NGlVFD6g-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5A27F1C08DB3; Fri, 8 Apr 2022 08:23:35 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.9]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2AFBF40317A; Fri, 8 Apr 2022 08:23:35 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id C2C701800607; Fri, 8 Apr 2022 10:23:33 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Jordan Justen , Gerd Hoffmann , Jiewen Yao , Pawel Polawski , Oliver Steffen , Ard Biesheuvel Subject: [PATCH v3 0/6] OvmfPkg/VirtioGpuDxe: use host display resolution Date: Fri, 8 Apr 2022 10:23:27 +0200 Message-Id: <20220408082333.3023758-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit QemuVideoDxe recently got support for picking up display resolution configuration from the host. This series does the same for VirtioGpuDxe. v3: - rebase to latest master. Gerd Hoffmann (6): OvmfPkg/VirtioGpuDxe: add VirtioGpuSendCommandWithReply OvmfPkg/VirtioGpuDxe: add GetDisplayInfo to virtio-gpu spec header. OvmfPkg/VirtioGpuDxe: add VirtioGpuGetDisplayInfo OvmfPkg/VirtioGpuDxe: use GopQueryMode in GopSetMode OvmfPkg/VirtioGpuDxe: move code to GopInitialize OvmfPkg/VirtioGpuDxe: query native display resolution from host OvmfPkg/VirtioGpuDxe/VirtioGpu.inf | 6 + OvmfPkg/Include/IndustryStandard/VirtioGpu.h | 19 +- OvmfPkg/VirtioGpuDxe/VirtioGpu.h | 12 ++ OvmfPkg/VirtioGpuDxe/Commands.c | 95 +++++++-- OvmfPkg/VirtioGpuDxe/Gop.c | 197 ++++++++++++++----- 5 files changed, 262 insertions(+), 67 deletions(-) -- 2.35.1