render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

Blame SOURCES/0018-ArmVirtPkg-silence-DEBUG_VERBOSE-0x00400000-in-QemuR.patch

7fdf80
From 76b4ac28e975bd63c25db903a1d42c47b38cc756 Mon Sep 17 00:00:00 2001
7fdf80
From: Laszlo Ersek <lersek@redhat.com>
7fdf80
Date: Wed, 27 Jan 2016 03:05:18 +0100
7fdf80
Subject: ArmVirtPkg: silence DEBUG_VERBOSE (0x00400000) in QemuRamfbDxe (RH
7fdf80
 only)
7fdf80
7fdf80
Notes about the RHEL-8.0/20180508-ee3198e672e2 ->
7fdf80
RHEL-8.1/20190308-89910a39dcfd rebase:
7fdf80
7fdf80
- new patch, due to upstream commit c64688f36a8b ("ArmVirtPkg: add
7fdf80
  QemuRamfbDxe", 2018-06-14)
7fdf80
7fdf80
QemuRamfbDxe uses FrameBufferLib. The FrameBufferBltLib instance added in
7fdf80
commit b1ca386074bd ("MdeModulePkg: Add FrameBufferBltLib library
7fdf80
instance") logs many messages on the VERBOSE level; for example, a normal
7fdf80
boot with ArmVirtQemu[Kernel] can produce 500+ "VideoFill" messages,
7fdf80
dependent on the progress bar, when the VERBOSE bit is set in
7fdf80
PcdDebugPrintErrorLevel.
7fdf80
7fdf80
QemuRamfbDxe itself doesn't log anything at the VERBOSE level, so we lose
7fdf80
none of its messages this way.
7fdf80
7fdf80
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
7fdf80
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
7fdf80
---
7fdf80
 ArmVirtPkg/ArmVirtQemu.dsc       | 5 ++++-
7fdf80
 ArmVirtPkg/ArmVirtQemuKernel.dsc | 5 ++++-
7fdf80
 2 files changed, 8 insertions(+), 2 deletions(-)
7fdf80
7fdf80
diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
7fdf80
index a4cd66b846..aac4094665 100644
7fdf80
--- a/ArmVirtPkg/ArmVirtQemu.dsc
7fdf80
+++ b/ArmVirtPkg/ArmVirtQemu.dsc
7fdf80
@@ -421,7 +421,10 @@
7fdf80
   #
7fdf80
   # Video support
7fdf80
   #
7fdf80
-  OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
7fdf80
+  OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf {
7fdf80
+    <PcdsFixedAtBuild>
7fdf80
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
7fdf80
+  }
7fdf80
   OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
7fdf80
   OvmfPkg/PlatformDxe/Platform.inf
7fdf80
 
7fdf80
diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc
7fdf80
index d2b3f24394..c9a635e80b 100644
7fdf80
--- a/ArmVirtPkg/ArmVirtQemuKernel.dsc
7fdf80
+++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc
7fdf80
@@ -399,7 +399,10 @@
7fdf80
   #
7fdf80
   # Video support
7fdf80
   #
7fdf80
-  OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf
7fdf80
+  OvmfPkg/QemuRamfbDxe/QemuRamfbDxe.inf {
7fdf80
+    <PcdsFixedAtBuild>
7fdf80
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
7fdf80
+  }
7fdf80
   OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
7fdf80
   OvmfPkg/PlatformDxe/Platform.inf
7fdf80
 
7fdf80
-- 
7fdf80
2.18.1
7fdf80