From d8cdc362874b9e1f12fe4ef68d254224448c9b41 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 27 2020 19:10:14 +0000 Subject: import seabios-1.13.0-2.module+el8.3.0+7353+9de0a3cc --- diff --git a/SOURCES/seabios-vga-fix-cirrus-bios.patch b/SOURCES/seabios-vga-fix-cirrus-bios.patch new file mode 100644 index 0000000..5cea8cd --- /dev/null +++ b/SOURCES/seabios-vga-fix-cirrus-bios.patch @@ -0,0 +1,42 @@ +From 9e3aaa8c60399e1a66f4700b34698ef4cc59c773 Mon Sep 17 00:00:00 2001 +From: Gerd Hoffmann +Date: Thu, 2 Jul 2020 16:33:09 -0400 +Subject: [PATCH] vga: fix cirrus bios + +RH-Author: Gerd Hoffmann +Message-id: <20200702163309.29589-2-kraxel@redhat.com> +Patchwork-id: 97895 +O-Subject: [RHEL-AV-8.2.1 seabios PATCH 1/1] vga: fix cirrus bios +Bugzilla: 1847959 +RH-Acked-by: Laszlo Ersek +RH-Acked-by: Juan Quintela +RH-Acked-by: Dr. David Alan Gilbert + +Little mistake, big effect. The patch adding the ati driver broke +cirrus due to a missing "else", which effectively downgrades cirrus +to standard vga. + +Fixes: 34b6ecc16074 ("vga: add atiext driver") +Signed-off-by: Gerd Hoffmann +(cherry picked from commit d11c75185276ded944f2ea0277532b7fee849bbc) +Signed-off-by: Danilo C. L. de Paula +--- + vgasrc/vgahw.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/vgasrc/vgahw.h b/vgasrc/vgahw.h +index c774f4f2..8b64660e 100644 +--- a/vgasrc/vgahw.h ++++ b/vgasrc/vgahw.h +@@ -36,7 +36,7 @@ static inline int vgahw_set_mode(struct vgamode_s *vmode_g, int flags) { + static inline void vgahw_list_modes(u16 seg, u16 *dest, u16 *last) { + if (CONFIG_VGA_CIRRUS) + clext_list_modes(seg, dest, last); +- if (CONFIG_VGA_ATI) ++ else if (CONFIG_VGA_ATI) + ati_list_modes(seg, dest, last); + else if (CONFIG_VGA_BOCHS) + bochsvga_list_modes(seg, dest, last); +-- +2.27.0 + diff --git a/SPECS/seabios.spec b/SPECS/seabios.spec index 4b3f4f3..5fd6e25 100644 --- a/SPECS/seabios.spec +++ b/SPECS/seabios.spec @@ -1,6 +1,6 @@ Name: seabios Version: 1.13.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Open-source legacy BIOS implementation Group: Applications/Emulators @@ -23,6 +23,8 @@ Patch0002: 0002-allow-1TB-of-RAM.patch Patch0003: 0003-smbios-set-bios-vendor-version-fields-to-Seabios-0.5.patch Patch0004: 0004-Workaround-for-a-win8.1-32-S4-resume-bug.patch Patch0005: 0005-redhat-reserve-more-memory-on-fseg.patch +# For bz#1847959 - novnc working in grayscale and low resolution after upgrade to OSP15/OSP16 +Patch6: seabios-vga-fix-cirrus-bios.patch BuildRequires: python3 iasl ExclusiveArch: x86_64 %{power64} @@ -78,6 +80,7 @@ SeaVGABIOS is an open-source VGABIOS implementation. %patch0003 -p1 %patch0004 -p1 %patch0005 -p1 +%patch6 -p1 %build %ifarch x86_64 @@ -136,6 +139,10 @@ install -m 0644 binaries/vgabios*.bin $RPM_BUILD_ROOT%{_datadir}/seavgabios %changelog +* Mon Jul 13 2020 Danilo C. L. de Paula - 1.13.0 +- Resolves: bz#1844296 +(Upgrade components in virt:rhel module:stream for RHEL-8.3 release) + * Mon Apr 27 2020 Danilo C. L. de Paula - 1.13.0 - Resolves: bz#1810193 (Upgrade components in virt:rhel module:stream for RHEL-8.3 release)