Re: [PATCH] amdgpu_device_recover_vram always failed if only one node in shadow_list

2019-04-03 Thread Christian König
Am 03.04.19 um 08:33 schrieb wentalou: amdgpu_bo_restore_shadow would assign zero to r if succeeded. r would remain zero if there is only one node in shadow_list. current code would always return failure when r <= 0. restart the timeout for each wait was a rather problematic bug as well. The

Re: [PATCH] amdgpu_device_recover_vram always failed if only one node in shadow_list

2019-04-03 Thread Koenig, Christian
... > Just sent out another patch following your advice. > Thanks. > > BR, > Wentao > > > -Original Message- > From: Christian König > Sent: Tuesday, April 2, 2019 6:36 PM > To: Lou, Wentao ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH] amdgpu_de

RE: [PATCH] amdgpu_device_recover_vram always failed if only one node in shadow_list

2019-04-03 Thread Lou, Wentao
gfx@lists.freedesktop.org Subject: Re: [PATCH] amdgpu_device_recover_vram always failed if only one node in shadow_list Am 02.04.19 um 11:19 schrieb wentalou: > amdgpu_bo_restore_shadow would assign zero to r if succeeded. > r would remain zero if there is only one node in shadow_list. > current code

[PATCH] amdgpu_device_recover_vram always failed if only one node in shadow_list

2019-04-03 Thread wentalou
amdgpu_bo_restore_shadow would assign zero to r if succeeded. r would remain zero if there is only one node in shadow_list. current code would always return failure when r <= 0. restart the timeout for each wait was a rather problematic bug as well. The value of tmo SHOULD be changed, otherwise we

Re: [PATCH] amdgpu_device_recover_vram always failed if only one node in shadow_list

2019-04-02 Thread Christian König
Am 02.04.19 um 11:19 schrieb wentalou: amdgpu_bo_restore_shadow would assign zero to r if succeeded. r would remain zero if there is only one node in shadow_list. current code would always return failure when r <= 0. restart the timeout for each wait was a rather problematic bug as well. The

[PATCH] amdgpu_device_recover_vram always failed if only one node in shadow_list

2019-04-02 Thread wentalou
amdgpu_bo_restore_shadow would assign zero to r if succeeded. r would remain zero if there is only one node in shadow_list. current code would always return failure when r <= 0. restart the timeout for each wait was a rather problematic bug as well. The value of tmo SHOULD be changed, otherwise we