On 2024-05-14 13:18 +10, Jonathan Gray <j...@jsg.id.au> wrote: > hibernate does DVACT_QUIESCE/DVACT_SUSPEND from > diskconf()/hibernate_resume() before config_process_deferred_mountroot() > attaches most of the driver. So don't attempt to do anything. > > Index: sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c > =================================================================== > RCS file: /cvs/src/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c,v > diff -u -p -r1.43 amdgpu_drv.c > --- sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c 11 Apr 2024 03:24:40 -0000 > 1.43 > +++ sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c 14 May 2024 02:50:02 -0000 > @@ -3665,7 +3665,7 @@ amdgpu_activate(struct device *self, int > struct drm_device *dev = &adev->ddev; > int rv = 0; > > - if (dev->dev == NULL || amdgpu_fatal_error) > + if (dev->dev == NULL || amdgpu_fatal_error || adev->shutdown) > return (0); > > switch (act) { >
thanks, this fixes it. -- In my defence, I have been left unsupervised.