All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/simplefb: simplefb was broken on Oracle and HP system, skip VIDEO_TYPE_EFI
@ 2015-05-27  7:45 Ethan Zhao
       [not found] ` <1432712748-11344-1-git-send-email-ethan.zhao-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Ethan Zhao @ 2015-05-27  7:45 UTC (permalink / raw)
  To: tglx, mingo, hpa, fabf; +Cc: x86, linux-kernel, ethan.kernel, Ethan Zhao

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>
---
 arch/x86/kernel/sysfb_simplefb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/sysfb_simplefb.c b/arch/x86/kernel/sysfb_simplefb.c
index 764a29f..f833502 100644
--- a/arch/x86/kernel/sysfb_simplefb.c
+++ b/arch/x86/kernel/sysfb_simplefb.c
@@ -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) {
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-06-09  8:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-27  7:45 [PATCH] x86/simplefb: simplefb was broken on Oracle and HP system, skip VIDEO_TYPE_EFI Ethan Zhao
     [not found] ` <1432712748-11344-1-git-send-email-ethan.zhao-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2015-06-05  9:17   ` Matt Fleming
2015-06-05  9:17     ` Matt Fleming
     [not found]     ` <20150605091713.GD6826-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2015-06-05  9:31       ` David Herrmann
2015-06-05  9:31         ` David Herrmann
     [not found]         ` <CANq1E4Sqj6y1ys3z_XtgJj61r+4QQK_FCJFMPZ4v-2Ao-ddmXg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-09  8:04           ` ethan zhao
2015-06-09  8:04             ` ethan zhao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.