]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
x86/simplefb: simplefb was broken on Oracle and HP system, skip VIDEO_TYPE_EFI
authorEthan Zhao <ethan.zhao@oracle.com>
Thu, 28 May 2015 14:47:11 +0000 (07:47 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 29 Jun 2015 15:36:56 +0000 (08:36 -0700)
Orabug: 20961435

As descriped in https://bugzilla.kernel.org/show_bug.cgi?id=98721
When kernel 4.0.4 was tested on Oracle and HP system with UEFI mode, no output and
login on console.

Simplefb was broken on these systems when orig_video_isVGA is VIDEO_TYPE_EFI, so
skip it.

This patch was tested on Oracle Sun server X5-2 series and HP ProLiant DL380 Gen9
with kernel 4.0.4

Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
Tested-by: Kunlun Lao <kunlun.lao@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
arch/x86/kernel/sysfb_simplefb.c

index 764a29f84de7feea6346ce1d822af64f14af63ff..f8335020091386b4675a2d4531605d8c6993009f 100644 (file)
@@ -36,7 +36,7 @@ __init bool parse_mode(const struct screen_info *si,
        unsigned int i;
 
        type = si->orig_video_isVGA;
-       if (type != VIDEO_TYPE_VLFB && type != VIDEO_TYPE_EFI)
+       if (type != VIDEO_TYPE_VLFB)
                return false;
 
        for (i = 0; i < ARRAY_SIZE(formats); ++i) {