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.web09.9317.1642413524490391469 for ; Mon, 17 Jan 2022 01:58:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=II1VeD77; 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=1642413523; 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=BGPOnxX+FXNtXNBYBbyZWeSZmVtUTJGPniedbBqwm0M=; b=II1VeD77WfMSQkPRGWpFErXwH1/lALefXrz1LeIbihA5BHRygDU2z1VL6+gmVIUN0P5Yzh e/d14vKwWUhjzv87+Q+LvCNHSxoK133l7UwpZkuVB55LgL3ZrPkTa+bvoNJeUZLJSljaox mvtWRLYgQ0HnSsGXypx1QlUB5mwPaVc= 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-266-RJ9xlWy2PDuzR-gTt71K0A-1; Mon, 17 Jan 2022 04:58:39 -0500 X-MC-Unique: RJ9xlWy2PDuzR-gTt71K0A-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C9BAF83DD21; Mon, 17 Jan 2022 09:58:37 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 01F57703AB; Mon, 17 Jan 2022 09:58:19 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 1E5BB180060D; Mon, 17 Jan 2022 10:58:17 +0100 (CET) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Gerd Hoffmann , Jordan Justen , Min Xu , Jiewen Yao , Julien Grall , Tom Lendacky , Brijesh Singh , James Bottomley , Erdem Aktas , Pawel Polawski , Anthony Perard , Ard Biesheuvel Subject: [PATCH v2 0/5] OvmfPkg/QemuVideoDxe: pick up display resolution settings from the host Date: Mon, 17 Jan 2022 10:58:12 +0100 Message-Id: <20220117095817.1964424-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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 See last patch in the series for details. v2: - rebase to latest master - more verbose commit message explaining the motivation for the new PCD (see patch #1). Gerd Hoffmann (5): OvmfPkg: add PcdVideoResolutionSource OvmfPkg/QemuVideoDxe: simplify InitializeBochsGraphicsMode OvmfPkg/QemuVideoDxe: drop QEMU_VIDEO_BOCHS_MODES->ColorDepth OvmfPkg/QemuVideoDxe: factor out QemuVideoBochsAddMode OvmfPkg/QemuVideoDxe: parse edid blob, detect display resolution OvmfPkg/OvmfPkg.dec | 7 + OvmfPkg/AmdSev/AmdSevX64.dsc | 1 + OvmfPkg/Microvm/MicrovmX64.dsc | 1 + OvmfPkg/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + OvmfPkg/OvmfXen.dsc | 1 + OvmfPkg/PlatformDxe/Platform.inf | 1 + OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf | 3 + OvmfPkg/QemuVideoDxe/Qemu.h | 6 +- OvmfPkg/PlatformDxe/Platform.c | 3 + OvmfPkg/QemuVideoDxe/Driver.c | 14 +- OvmfPkg/QemuVideoDxe/Gop.c | 2 +- OvmfPkg/QemuVideoDxe/Initialize.c | 251 +++++++++++++++++++------- 14 files changed, 213 insertions(+), 80 deletions(-) -- 2.34.1