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 platform

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

2023-11-13 Thread Andrew Worsley
source of truth since is what > > describes the hardware topology. Even if EFI Boot Services are used to > > boot the machine. > > > > b) The of_platform_default_populate_init() function is called in the > > arch_initcall_sync() initcall level while the

Re: [PATCH] Fix failure of simpledrm probe when trying to grab FB from the EFI-based Framebuffer

2023-11-11 Thread Andrew Worsley
On Sat, 11 Nov 2023 at 20:10, Javier Martinez Canillas wrote: > > > On Sat, 11 Nov 2023 at 15:30, Andrew Worsley wrote: > >> > >>The simpledrm.c does not call aperture_remove_conflicting_devices() in > >> it's probe > >>function as th

Re: [PATCH] Fix failure of simpledrm probe when trying to grab FB from the EFI-based Framebuffer

2023-11-11 Thread Andrew Worsley
It's inline - part of the email - not an attachment? I can see it in the copy that went to me... Andrew On Sat, 11 Nov 2023 at 15:30, Andrew Worsley wrote: > >The simpledrm.c does not call aperture_remove_conflicting_devices() in > it's probe >function as the drivers/vide

[no subject]

2023-11-11 Thread Andrew Worsley
and minimal. Very likely there may be better ways to fix this and very like there may be other drivers which have the same problem but I submit this so at least there is an interim fix for my problem. Thanks Andrew Worsley

[PATCH] Fix failure of simpledrm probe when trying to grab FB from the EFI-based Framebuffer

2023-11-11 Thread Andrew Worsley
start up log. ... [ 5.616] (WW) Falling back to old probe method for modesetting [ 5.616] (EE) open /dev/dri/card0: No such file or directory ... Fault confirmed and fixed on Asahi 6.5.0 kernel with both CONFIG_FB_EFI and CONFIG_DRM_SIMPLEDRM config options set. Signed-off-by: Andrew