[PATCH] drm/amd: Fail the suspend if resources can't be evicted

2022-10-26 Thread Mario Limonciello
If a system does not have swap and memory is under 100% usage, amdgpu will fail to evict resources. Currently the suspend carries on proceeding to reset the GPU: ``` [drm] evicting device resources failed [drm:amdgpu_device_ip_suspend_phase2 [amdgpu]] *ERROR* suspend of IP block failed -12 [drm

Re: [PATCH] drm/amd: Fail the suspend if resources can't be evicted

2022-10-26 Thread Christian König
Am 26.10.22 um 21:03 schrieb Mario Limonciello: If a system does not have swap and memory is under 100% usage, amdgpu will fail to evict resources. Currently the suspend carries on proceeding to reset the GPU: ``` [drm] evicting device resources failed [drm:amdgpu_device_ip_suspend_phase2 [amdg

Re: [PATCH] drm/amd: Fail the suspend if resources can't be evicted

2022-10-27 Thread Mario Limonciello
On 10/27/22 01:30, Christian König wrote: Am 26.10.22 um 21:03 schrieb Mario Limonciello: If a system does not have swap and memory is under 100% usage, amdgpu will fail to evict resources.  Currently the suspend carries on proceeding to reset the GPU: ``` [drm] evicting device resources failed

Re: [PATCH] drm/amd: Fail the suspend if resources can't be evicted

2022-10-27 Thread Alex Deucher
On Thu, Oct 27, 2022 at 2:31 AM Christian König wrote: > > Am 26.10.22 um 21:03 schrieb Mario Limonciello: > > If a system does not have swap and memory is under 100% usage, > > amdgpu will fail to evict resources. Currently the suspend > > carries on proceeding to reset the GPU: > > > > ``` > >

Re: [PATCH] drm/amd: Fail the suspend if resources can't be evicted

2022-10-27 Thread Alex Deucher
Patch is: Reviewed-by: Alex Deucher On Thu, Oct 27, 2022 at 9:39 AM Alex Deucher wrote: > > On Thu, Oct 27, 2022 at 2:31 AM Christian König > wrote: > > > > Am 26.10.22 um 21:03 schrieb Mario Limonciello: > > > If a system does not have swap and memory is under 100% usage, > > > amdgpu will fai

Re: [PATCH] drm/amd: Fail the suspend if resources can't be evicted

2022-10-27 Thread Christian König
Am 26.10.22 um 21:03 schrieb Mario Limonciello: If a system does not have swap and memory is under 100% usage, amdgpu will fail to evict resources. Currently the suspend carries on proceeding to reset the GPU: ``` [drm] evicting device resources failed [drm:amdgpu_device_ip_suspend_phase2 [amdg