summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-05-01 13:46:46 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-22 14:12:26 +0200
commit35559ebcdc899045208f411be0cd8c18ca35b1d1 (patch)
tree12c4737acf8ce35d863a3e2af9f3105bc7340337 /virt
parentc1d42a239be5c238b7b169a0d84566854a43c2a7 (diff)
downloadlinux-35559ebcdc899045208f411be0cd8c18ca35b1d1.tar.gz
linux-35559ebcdc899045208f411be0cd8c18ca35b1d1.tar.bz2
linux-35559ebcdc899045208f411be0cd8c18ca35b1d1.zip
drm/amdgpu: fix pm notifier handling
commit 4aaffc85751da5722e858e4333e8cf0aa4b6c78f upstream. Set the s3/s0ix and s4 flags in the pm notifier so that we can skip the resource evictions properly in pm prepare based on whether we are suspending or hibernating. Drop the eviction as processes are not frozen at this time, we we can end up getting stuck trying to evict VRAM while applications continue to submit work which causes the buffers to get pulled back into VRAM. v2: Move suspend flags out of pm notifier (Mario) Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4178 Fixes: 2965e6355dcd ("drm/amd: Add Suspend/Hibernate notification callback support") Cc: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 06f2dcc241e7e5c681f81fbc46cacdf4bfd7d6d7) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions