CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2024/05/13 22:55:42

Modified files:
        sys/dev/pci/drm/amd/amdgpu: amdgpu_drv.c 

Log message:
make amdgpu_activate() return early when called during hibernate resume

Hibernate does DVACT_QUIESCE/DVACT_SUSPEND from hibernate_resume(),
before config_process_deferred_mountroot() calls amdgpu_attachhook().

Without this change the amdgpu_device_prepare() call ends up faulting in
ttm_resource_manager_evict_all() after the
'drm/amd: Evict resources during PM ops prepare() callback'
commit from April.

earlier diff from and ok stsp@
report and bisection from florian@

Reply via email to