grub2/grub2-vbe-blacklist-preferred-1440x900x32.patch
Michael Chang 012e0e85e4 Accepting request 1227248 from home:gary_lin:branches:Base:System
- Support s390x Secure Execution (jsc#PED-9531)
  * grub2-s390x-secure-execution-support.patch
- Update grub2-s390x-set-hostonly.patch to add the patch header
  and the description

OBS-URL: https://build.opensuse.org/request/show/1227248
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=524
2024-11-29 08:48:07 +00:00

19 lines
552 B
Diff

--- a/grub-core/video/i386/pc/vbe.c
+++ b/grub-core/video/i386/pc/vbe.c
@@ -1054,6 +1054,15 @@
|| vbe_mode_info.y_resolution > height)
/* Resolution exceeds that of preferred mode. */
continue;
+
+ /* Blacklist 1440x900x32 from preferred mode handling until a
+ better solution is available. This mode causes problems on
+ many Thinkpads.
+ */
+ if (vbe_mode_info.x_resolution == 1440 &&
+ vbe_mode_info.y_resolution == 900 &&
+ vbe_mode_info.bits_per_pixel == 32)
+ continue;
}
else
{