Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-12-07 Thread Javier Martinez Canillas
Rob Herring writes: > On Mon, Dec 04, 2023 at 05:05:30PM +0100, Javier Martinez Canillas wrote: >> Rob Herring writes: >> >> > On Mon, Dec 4, 2023 at 3:39 AM Javier Martinez Canillas >> > wrote: >> >> Rob Herring writes: >> >> > On Fri, Dec 1, 2023 at 4:21 AM Javier Martinez Canillas >> >> [

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-12-07 Thread Rob Herring
On Mon, Dec 04, 2023 at 05:05:30PM +0100, Javier Martinez Canillas wrote: > Rob Herring writes: > > > On Mon, Dec 4, 2023 at 3:39 AM Javier Martinez Canillas > > wrote: > >> Rob Herring writes: > >> > On Fri, Dec 1, 2023 at 4:21 AM Javier Martinez Canillas > > [...] > > >> > >> > However, the

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-12-04 Thread Javier Martinez Canillas
Rob Herring writes: > On Mon, Dec 4, 2023 at 3:39 AM Javier Martinez Canillas > wrote: >> Rob Herring writes: >> > On Fri, Dec 1, 2023 at 4:21 AM Javier Martinez Canillas [...] >> >> > However, there might be one other issue with that and this fix. The DT >> > simplefb can have resources such

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-12-04 Thread Rob Herring
On Mon, Dec 4, 2023 at 3:39 AM Javier Martinez Canillas wrote: > > Rob Herring writes: > > Hello Rob, > > > On Fri, Dec 1, 2023 at 4:21 AM Javier Martinez Canillas > > [...] > > >> >> I don't have a better idea than this patch but maybe Thomas or Sima do? > >> > > >> > At SUSE, we've carried such

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-12-04 Thread Javier Martinez Canillas
Rob Herring writes: Hello Rob, > On Fri, Dec 1, 2023 at 4:21 AM Javier Martinez Canillas [...] >> >> I don't have a better idea than this patch but maybe Thomas or Sima do? >> > >> > At SUSE, we've carried such a patch in our repos for some time. It works >> > around the double-framebuffer pro

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-12-01 Thread Rob Herring
On Fri, Dec 1, 2023 at 4:21 AM Javier Martinez Canillas wrote: > > Thomas Zimmermann writes: > > > Hi > > > > Am 18.11.23 um 12:10 schrieb Javier Martinez Canillas: > >> Ard Biesheuvel writes: > >> > >> Hello Ard, > >> > >>> On Fri, 17 Nov 2023 at 00:09, Rob Herring wrote: > >> > >> [...] > >>

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-12-01 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > Hi > > Am 18.11.23 um 12:10 schrieb Javier Martinez Canillas: >> Ard Biesheuvel writes: >> >> Hello Ard, >> >>> On Fri, 17 Nov 2023 at 00:09, Rob Herring wrote: >> >> [...] >> >> >> This could also lead to an interesting scenario. As simple-framebuffer >>

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-11-23 Thread Thomas Zimmermann
Hi Am 18.11.23 um 12:10 schrieb Javier Martinez Canillas: Ard Biesheuvel writes: Hello Ard, On Fri, 17 Nov 2023 at 00:09, Rob Herring wrote: [...] This could also lead to an interesting scenario. As simple-framebuffer can define its memory in a /reserved-memory node, but that is ignore

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-11-18 Thread Javier Martinez Canillas
Ard Biesheuvel writes: Hello Ard, > On Fri, 17 Nov 2023 at 00:09, Rob Herring wrote: [...] >> > > >> > > This could also lead to an interesting scenario. As simple-framebuffer >> > > can define its memory in a /reserved-memory node, but that is ignored >> > > in EFI boot. Probably would work,

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-11-16 Thread Javier Martinez Canillas
Rob Herring writes: > On Thu, Nov 16, 2023 at 3:36 AM Javier Martinez Canillas > wrote: [...] >> > >> > This is the opposite of what we do for memory and memory reservations. >> > EFI is the source of truth for those. >> > >> > This could also lead to an interesting scenario. As simple-framebu

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-11-16 Thread Ard Biesheuvel
On Fri, 17 Nov 2023 at 00:09, Rob Herring wrote: > > On Thu, Nov 16, 2023 at 3:36 AM Javier Martinez Canillas > wrote: > > > > Rob Herring writes: > > > > Hello Rob, > > > > > On Mon, Nov 13, 2023 at 2:53 AM Javier Martinez Canillas > > > wrote: > > >> > > >> Some DT platforms use EFI to boot a

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-11-16 Thread Rob Herring
On Thu, Nov 16, 2023 at 3:36 AM Javier Martinez Canillas wrote: > > Rob Herring writes: > > Hello Rob, > > > On Mon, Nov 13, 2023 at 2:53 AM Javier Martinez Canillas > > wrote: > >> > >> Some DT platforms use EFI to boot and in this case the EFI Boot Services > >> may register a EFI_GRAPHICS_OUT

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-11-16 Thread Javier Martinez Canillas
Rob Herring writes: Hello Rob, > On Mon, Nov 13, 2023 at 2:53 AM Javier Martinez Canillas > wrote: >> >> Some DT platforms use EFI to boot and in this case the EFI Boot Services >> may register a EFI_GRAPHICS_OUTPUT_PROTOCOL handle, that will later be >> queried by the Linux EFI stub to fill th

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-11-15 Thread Rob Herring
On Mon, Nov 13, 2023 at 2:53 AM Javier Martinez Canillas wrote: > > Some DT platforms use EFI to boot and in this case the EFI Boot Services > may register a EFI_GRAPHICS_OUTPUT_PROTOCOL handle, that will later be > queried by the Linux EFI stub to fill the global struct screen_info data. > > The

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-11-13 Thread Andrew Worsley
On Mon, 13 Nov 2023 at 23:57, Javier Martinez Canillas wrote: > > Andrew Worsley writes: > > Hello Andrew, > > > On Mon, 13 Nov 2023 at 20:18, Thomas Zimmermann wrote: > >> Am 13.11.23 um 09:51 schrieb Javier Martinez Canillas: > >> > Some DT platforms use EFI to boot and in this case the EFI Bo

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-11-13 Thread Javier Martinez Canillas
Andrew Worsley writes: Hello Andrew, > On Mon, 13 Nov 2023 at 20:18, Thomas Zimmermann wrote: >> Am 13.11.23 um 09:51 schrieb Javier Martinez Canillas: >> > Some DT platforms use EFI to boot and in this case the EFI Boot Services >> > may register a EFI_GRAPHICS_OUTPUT_PROTOCOL handle, that wil

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-11-13 Thread Andrew Worsley
On Mon, 13 Nov 2023 at 20:18, Thomas Zimmermann wrote: > > > > Am 13.11.23 um 09:51 schrieb Javier Martinez Canillas: > > Some DT platforms use EFI to boot and in this case the EFI Boot Services > > may register a EFI_GRAPHICS_OUTPUT_PROTOCOL handle, that will later be > > queried by the Linux EFI

Re: [RFC PATCH] of/platform: Disable sysfb if a simple-framebuffer node is found

2023-11-13 Thread Thomas Zimmermann
Am 13.11.23 um 09:51 schrieb Javier Martinez Canillas: Some DT platforms use EFI to boot and in this case the EFI Boot Services may register a EFI_GRAPHICS_OUTPUT_PROTOCOL handle, that will later be queried by the Linux EFI stub to fill the global struct screen_info data. The data is used by t