Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323985
b: refs/heads/master
c: f462ed9
h: refs/heads/master
i:
  323983: ebde109
v: v3
  • Loading branch information
Matthew Garrett authored and Matt Fleming committed Sep 17, 2012
1 parent 2f549b4 commit ee88d59
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6cf86d8f23253225fe2a763d627ecf7dfee9dae
refs/heads/master: f462ed939de67c20528bc08f11d2fc4f2d59c0d5
2 changes: 2 additions & 0 deletions trunk/arch/x86/boot/compressed/eboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ static efi_status_t setup_gop(struct screen_info *si, efi_guid_t *proto,
si->rsvd_pos = 0;
}

si->capabilities |= VIDEO_CAPABILITY_SKIP_QUIRKS;

free_handle:
efi_call_phys1(sys_table->boottime->free_pool, gop_handle);
return status;
Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/video/efifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,9 @@ static int __init efifb_init(void)
int ret;
char *option = NULL;

dmi_check_system(dmi_system_table);
if (screen_info.orig_video_isVGA != VIDEO_TYPE_EFI ||
!(screen_info.capabilities & VIDEO_CAPABILITY_SKIP_QUIRKS))
dmi_check_system(dmi_system_table);

if (screen_info.orig_video_isVGA != VIDEO_TYPE_EFI)
return -ENODEV;
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/linux/screen_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ struct screen_info {

#define VIDEO_FLAGS_NOCURSOR (1 << 0) /* The video mode has no cursor set */

#define VIDEO_CAPABILITY_SKIP_QUIRKS (1 << 0)

#ifdef __KERNEL__
extern struct screen_info screen_info;

Expand Down

0 comments on commit ee88d59

Please sign in to comment.