render / rpms / edk2

Forked from rpms/edk2 2 months ago
Clone

Blame SOURCES/0017-OvmfPkg-silence-EFI_D_VERBOSE-0x00400000-in-QemuVide.patch

cc9195
From bd650684712fb840dbcda5d6eaee065bd9e91fa1 Mon Sep 17 00:00:00 2001
cc9195
From: Paolo Bonzini <pbonzini@redhat.com>
cc9195
Date: Tue, 21 Nov 2017 00:57:46 +0100
cc9195
Subject: OvmfPkg: silence EFI_D_VERBOSE (0x00400000) in QemuVideoDxe (RH only)
cc9195
cc9195
Notes about the RHEL-7.6/ovmf-20180508-2.gitee3198e672e2.el7 ->
cc9195
RHEL-8.0/20180508-ee3198e672e2 rebase:
cc9195
cc9195
- reorder the rebase changelog in the commit message so that it reads like
cc9195
  a blog: place more recent entries near the top
cc9195
- no changes to the patch body
cc9195
cc9195
Notes about the 20171011-92d07e48907f -> 20180508-ee3198e672e2 rebase:
cc9195
cc9195
- no changes
cc9195
cc9195
Message-id: <20171120235748.29669-6-pbonzini@redhat.com>
cc9195
Patchwork-id: 77761
cc9195
O-Subject:  [PATCH 5/7] OvmfPkg: silence EFI_D_VERBOSE (0x00400000) in
cc9195
	QemuVideoDxe (RH only)
cc9195
Bugzilla: 1488247
cc9195
Acked-by: Laszlo Ersek <lersek@redhat.com>
cc9195
Acked-by: Thomas Huth <thuth@redhat.com>
cc9195
cc9195
From: Laszlo Ersek <lersek@redhat.com>
cc9195
cc9195
In commit 5b2291f9567a ("OvmfPkg: QemuVideoDxe uses
cc9195
MdeModulePkg/FrameBufferLib"), QemuVideoDxe was rebased to
cc9195
FrameBufferBltLib.
cc9195
cc9195
The FrameBufferBltLib instance added in commit b1ca386074bd
cc9195
("MdeModulePkg: Add FrameBufferBltLib library instance") logs many
cc9195
messages on the VERBOSE level; for example, a normal boot with OVMF can
cc9195
produce 500+ "VideoFill" messages, dependent on the progress bar, when the
cc9195
VERBOSE bit is set in PcdDebugPrintErrorLevel.
cc9195
cc9195
QemuVideoDxe itself doesn't log anything at the VERBOSE level, so we lose
cc9195
none of its messages this way.
cc9195
cc9195
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
cc9195
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cc9195
(this patch was previously applied as commit 9b0d031dee7e823f6717bab73e422fbc6f0a6c52)
cc9195
(cherry picked from commit 9122d5f2e8d8d289064d1e1700cb61964d9931f3)
cc9195
(cherry picked from commit 7eb3be1d4ccafc26c11fe5afb95cc12b250ce6f0)
cc9195
---
cc9195
 OvmfPkg/OvmfPkgIa32.dsc    | 5 ++++-
cc9195
 OvmfPkg/OvmfPkgIa32X64.dsc | 5 ++++-
cc9195
 OvmfPkg/OvmfPkgX64.dsc     | 5 ++++-
cc9195
 3 files changed, 12 insertions(+), 3 deletions(-)
cc9195
cc9195
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
cc9195
index 57bf021..2b2e874 100644
cc9195
--- a/OvmfPkg/OvmfPkgIa32.dsc
cc9195
+++ b/OvmfPkg/OvmfPkgIa32.dsc
cc9195
@@ -744,7 +744,10 @@
cc9195
   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
cc9195
   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
cc9195
 
cc9195
-  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
cc9195
+  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
cc9195
+    <PcdsFixedAtBuild>
cc9195
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
cc9195
+  }
cc9195
   OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
cc9195
 
cc9195
   #
cc9195
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
cc9195
index 0e87c8f..892cc5e 100644
cc9195
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
cc9195
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
cc9195
@@ -753,7 +753,10 @@
cc9195
   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
cc9195
   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
cc9195
 
cc9195
-  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
cc9195
+  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
cc9195
+    <PcdsFixedAtBuild>
cc9195
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
cc9195
+  }
cc9195
   OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
cc9195
 
cc9195
   #
cc9195
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
cc9195
index 38ba204..e7cb582 100644
cc9195
--- a/OvmfPkg/OvmfPkgX64.dsc
cc9195
+++ b/OvmfPkg/OvmfPkgX64.dsc
cc9195
@@ -751,7 +751,10 @@
cc9195
   MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
cc9195
   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
cc9195
 
cc9195
-  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
cc9195
+  OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf {
cc9195
+    <PcdsFixedAtBuild>
cc9195
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
cc9195
+  }
cc9195
   OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
cc9195
 
cc9195
   #
cc9195
-- 
cc9195
1.8.3.1
cc9195