SHA256
1
0
forked from pool/grub2
grub2/grub2-vbe-blacklist-preferred-1440x900x32.patch
Andrei Borzenkov 9b3ed0ba28 Accepting request 244649 from home:michael-chang:branches:Base:System
- grub2-btrfs-fix-incorrect-address-reference.patch
  * Fix incorrect address reference in GRUB_BTRFS_EXTENT_REGULAR
    range check (bnc#869748) 

- grub2-vbe-blacklist-preferred-1440x900x32.patch
  * Blacklist preferred resolution 1440x900x32 which is broken on 
    many Thinkpads (bnc#888727)

OBS-URL: https://build.opensuse.org/request/show/244649
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=104
2014-08-14 08:30:20 +00:00

21 lines
747 B
Diff

Index: grub-2.02~beta2/grub-core/video/i386/pc/vbe.c
===================================================================
--- grub-2.02~beta2.orig/grub-core/video/i386/pc/vbe.c
+++ grub-2.02~beta2/grub-core/video/i386/pc/vbe.c
@@ -1053,6 +1053,15 @@ grub_video_vbe_setup (unsigned int width
|| 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
{