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.129.124]) by mx.groups.io with SMTP id smtpd.web09.2617.1646977401179536423 for ; Thu, 10 Mar 2022 21:43:22 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HB76sR3/; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646977400; 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=IGYV6okuT6HmNkrbn2FZ0vFA8Jhk4bV8poZSpeGxUko=; b=HB76sR3/UtGGjc86jxyNcDFO1jJtYoKqQTI3+Y5tPVeXnGaaSHcx4LCWP2A0pJ2U0dVNoM 2HuWmW3vDWoKp6+hGFqc1DzDNFo3E07cZMqe0anypH5URyP2ojkwiBATWfyE8AbXYR77Hj 00Koib+t3ASYv5h7y0Q2p86zDAkc/GI= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-515-2yEY0d6cNV-URh1S0S2y8w-1; Fri, 11 Mar 2022 00:43:19 -0500 X-MC-Unique: 2yEY0d6cNV-URh1S0S2y8w-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 19E891006AA6 for ; Fri, 11 Mar 2022 05:43:18 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.196.67]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CBBCD5DBA9; Fri, 11 Mar 2022 05:43:17 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id A0BDE18000B3; Fri, 11 Mar 2022 06:43:15 +0100 (CET) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Pawel Polawski , Gerd Hoffmann Subject: [PATCH v2 0/6] OvmfPkg/VirtioGpuDxe: use host display resolution Date: Fri, 11 Mar 2022 06:43:09 +0100 Message-Id: <20220311054315.876774-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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. 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