|
@@ -331,7 +331,6 @@ static efi_status_t setup_gop(struct screen_info *si, efi_guid_t *proto,
|
|
|
si->lfb_width = width;
|
|
|
si->lfb_height = height;
|
|
|
si->lfb_base = fb_base;
|
|
|
- si->lfb_size = fb_size;
|
|
|
si->pages = 1;
|
|
|
|
|
|
if (pixel_format == PIXEL_RGB_RESERVED_8BIT_PER_COLOR) {
|
|
@@ -379,6 +378,8 @@ static efi_status_t setup_gop(struct screen_info *si, efi_guid_t *proto,
|
|
|
si->rsvd_pos = 0;
|
|
|
}
|
|
|
|
|
|
+ si->lfb_size = si->lfb_linelength * si->lfb_height;
|
|
|
+
|
|
|
si->capabilities |= VIDEO_CAPABILITY_SKIP_QUIRKS;
|
|
|
|
|
|
free_handle:
|