Re: [PATCH 2/2] x86/sysfb: fix lfb_size calculation

2016-11-15 Thread Tom Gundersen
On Tue, Nov 15, 2016 at 1:01 PM, David Herrmann wrote: > The screen_info.lfb_size field is shifted by 16 bits *only* in case of > VBE. This has historical reasons since VBE advertised it similarly. > However, in case of EFI framebuffers, the size is no longer shifted. Fix >

Re: [PATCH 2/2] x86/sysfb: fix lfb_size calculation

2016-11-15 Thread Tom Gundersen
On Tue, Nov 15, 2016 at 1:01 PM, David Herrmann wrote: > The screen_info.lfb_size field is shifted by 16 bits *only* in case of > VBE. This has historical reasons since VBE advertised it similarly. > However, in case of EFI framebuffers, the size is no longer shifted. Fix > the x86

[PATCH 2/2] x86/sysfb: fix lfb_size calculation

2016-11-15 Thread David Herrmann
The screen_info.lfb_size field is shifted by 16 bits *only* in case of VBE. This has historical reasons since VBE advertised it similarly. However, in case of EFI framebuffers, the size is no longer shifted. Fix the x86 simple-framebuffer setup code to use the correct size in the non-VBE case.

[PATCH 2/2] x86/sysfb: fix lfb_size calculation

2016-11-15 Thread David Herrmann
The screen_info.lfb_size field is shifted by 16 bits *only* in case of VBE. This has historical reasons since VBE advertised it similarly. However, in case of EFI framebuffers, the size is no longer shifted. Fix the x86 simple-framebuffer setup code to use the correct size in the non-VBE case.