Re: [PATCH 0/2] Recover from failure to probe GPU

2022-12-27 Thread Javier Martinez Canillas
Hello Alex, On 12/27/22 18:04, Alex Deucher wrote: [...] > > I think something like this would do the trick: > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > index 2017b3466612..45aee27ab6b1 100644 > --- a/drivers/gpu/drm/amd/amdgpu/a

Re: [PATCH 0/2] Recover from failure to probe GPU

2022-12-27 Thread Alex Deucher
On Tue, Dec 27, 2022 at 10:40 AM Alex Deucher wrote: > > On Sun, Dec 25, 2022 at 10:31 AM Christian König > wrote: > > > > Am 24.12.22 um 10:34 schrieb Thomas Zimmermann: > > > Hi > > > > > > Am 22.12.22 um 19:30 schrieb Mario Limonciello: > > >> One of the first thing that KMS drivers do during

Re: [PATCH 0/2] Recover from failure to probe GPU

2022-12-27 Thread Alex Deucher
On Sun, Dec 25, 2022 at 10:31 AM Christian König wrote: > > Am 24.12.22 um 10:34 schrieb Thomas Zimmermann: > > Hi > > > > Am 22.12.22 um 19:30 schrieb Mario Limonciello: > >> One of the first thing that KMS drivers do during initialization is > >> destroy the system firmware framebuffer by means

Re: [PATCH 0/2] Recover from failure to probe GPU

2022-12-25 Thread Christian König
Am 24.12.22 um 10:34 schrieb Thomas Zimmermann: Hi Am 22.12.22 um 19:30 schrieb Mario Limonciello: One of the first thing that KMS drivers do during initialization is destroy the system firmware framebuffer by means of `drm_aperture_remove_conflicting_pci_framebuffers` This means that if for a

Re: [PATCH 0/2] Recover from failure to probe GPU

2022-12-24 Thread Thomas Zimmermann
Hi Am 22.12.22 um 19:30 schrieb Mario Limonciello: One of the first thing that KMS drivers do during initialization is destroy the system firmware framebuffer by means of `drm_aperture_remove_conflicting_pci_framebuffers` This means that if for any reason the GPU failed to probe the user will b

Re: [PATCH 0/2] Recover from failure to probe GPU

2022-12-23 Thread Mario Limonciello
On 12/22/22 13:41, Javier Martinez Canillas wrote: [adding Thomas Zimmermann to CC list] Hello Mario, Interesting case. On 12/22/22 19:30, Mario Limonciello wrote: One of the first thing that KMS drivers do during initialization is destroy the system firmware framebuffer by means of `drm_aper

Re: [PATCH 0/2] Recover from failure to probe GPU

2022-12-22 Thread Javier Martinez Canillas
[adding Thomas Zimmermann to CC list] Hello Mario, Interesting case. On 12/22/22 19:30, Mario Limonciello wrote: > One of the first thing that KMS drivers do during initialization is > destroy the system firmware framebuffer by means of > `drm_aperture_remove_conflicting_pci_framebuffers` > The

[PATCH 0/2] Recover from failure to probe GPU

2022-12-22 Thread Mario Limonciello
One of the first thing that KMS drivers do during initialization is destroy the system firmware framebuffer by means of `drm_aperture_remove_conflicting_pci_framebuffers` This means that if for any reason the GPU failed to probe the user will be stuck with at best a screen frozen at the last thing