Re: [PATCH v2 3/3] drm/amdgpu: recover gart table at resume

2021-10-20 Thread Das, Nirmoy
On 10/20/2021 12:51 PM, Christian König wrote: Am 20.10.21 um 12:21 schrieb Das, Nirmoy: On 10/20/2021 12:15 PM, Lazar, Lijo wrote: On 10/20/2021 3:42 PM, Das, Nirmoy wrote: On 10/20/2021 12:03 PM, Lazar, Lijo wrote: On 10/20/2021 3:23 PM, Das, Nirmoy wrote: On 10/20/2021 11:11

Re: [PATCH v2 3/3] drm/amdgpu: recover gart table at resume

2021-10-20 Thread Christian König
Am 20.10.21 um 12:21 schrieb Das, Nirmoy: On 10/20/2021 12:15 PM, Lazar, Lijo wrote: On 10/20/2021 3:42 PM, Das, Nirmoy wrote: On 10/20/2021 12:03 PM, Lazar, Lijo wrote: On 10/20/2021 3:23 PM, Das, Nirmoy wrote: On 10/20/2021 11:11 AM, Lazar, Lijo wrote: On 10/19/2021 11:44 PM,

Re: [PATCH v2 3/3] drm/amdgpu: recover gart table at resume

2021-10-20 Thread Das, Nirmoy
On 10/20/2021 12:15 PM, Lazar, Lijo wrote: On 10/20/2021 3:42 PM, Das, Nirmoy wrote: On 10/20/2021 12:03 PM, Lazar, Lijo wrote: On 10/20/2021 3:23 PM, Das, Nirmoy wrote: On 10/20/2021 11:11 AM, Lazar, Lijo wrote: On 10/19/2021 11:44 PM, Nirmoy Das wrote: Get rid off pin/unpin of

Re: [PATCH v2 3/3] drm/amdgpu: recover gart table at resume

2021-10-20 Thread Lazar, Lijo
On 10/20/2021 3:42 PM, Das, Nirmoy wrote: On 10/20/2021 12:03 PM, Lazar, Lijo wrote: On 10/20/2021 3:23 PM, Das, Nirmoy wrote: On 10/20/2021 11:11 AM, Lazar, Lijo wrote: On 10/19/2021 11:44 PM, Nirmoy Das wrote: Get rid off pin/unpin of gart BO at resume/suspend and instead pin only

Re: [PATCH v2 3/3] drm/amdgpu: recover gart table at resume

2021-10-20 Thread Das, Nirmoy
On 10/20/2021 12:03 PM, Lazar, Lijo wrote: On 10/20/2021 3:23 PM, Das, Nirmoy wrote: On 10/20/2021 11:11 AM, Lazar, Lijo wrote: On 10/19/2021 11:44 PM, Nirmoy Das wrote: Get rid off pin/unpin of gart BO at resume/suspend and instead pin only once and try to recover gart content at

Re: [PATCH v2 3/3] drm/amdgpu: recover gart table at resume

2021-10-20 Thread Lazar, Lijo
On 10/20/2021 3:23 PM, Das, Nirmoy wrote: On 10/20/2021 11:11 AM, Lazar, Lijo wrote: On 10/19/2021 11:44 PM, Nirmoy Das wrote: Get rid off pin/unpin of gart BO at resume/suspend and instead pin only once and try to recover gart content at resume time. This is much more stable in case

Re: [PATCH v2 3/3] drm/amdgpu: recover gart table at resume

2021-10-20 Thread Das, Nirmoy
On 10/20/2021 11:11 AM, Lazar, Lijo wrote: On 10/19/2021 11:44 PM, Nirmoy Das wrote: Get rid off pin/unpin of gart BO at resume/suspend and instead pin only once and try to recover gart content at resume time. This is much more stable in case there is OOM situation at 2nd call to

Re: [PATCH v2 3/3] drm/amdgpu: recover gart table at resume

2021-10-20 Thread Lazar, Lijo
On 10/19/2021 11:44 PM, Nirmoy Das wrote: Get rid off pin/unpin of gart BO at resume/suspend and instead pin only once and try to recover gart content at resume time. This is much more stable in case there is OOM situation at 2nd call to amdgpu_device_evict_resources() while evicting GART

Re: [PATCH v2 3/3] drm/amdgpu: recover gart table at resume

2021-10-20 Thread Das, Nirmoy
On 10/20/2021 8:52 AM, Christian König wrote: Am 19.10.21 um 20:14 schrieb Nirmoy Das: Get rid off pin/unpin of gart BO at resume/suspend and instead pin only once and try to recover gart content at resume time. This is much more stable in case there is OOM situation at 2nd call to

Re: [PATCH v2 3/3] drm/amdgpu: recover gart table at resume

2021-10-20 Thread Christian König
Am 19.10.21 um 20:14 schrieb Nirmoy Das: Get rid off pin/unpin of gart BO at resume/suspend and instead pin only once and try to recover gart content at resume time. This is much more stable in case there is OOM situation at 2nd call to amdgpu_device_evict_resources() while evicting GART table.