*Sent:* Wednesday, September 13, 2023 10:29 PM
*To:* Kuehling, Felix ; Christian König
; Pan, Xinhui
; amd-gfx@lists.freedesktop.org; Wentland,
Harry
*Cc:* Deucher, Alexander ; Fan, Shikang
*Subject:* Re: 回复: [PATCH] drm/amdgpu: Ignore first evction failure
during suspend
[+Harry]
Am 13.09.23
*Sent:* Wednesday, September 13, 2023 10:29 PM
*To:* Kuehling, Felix ; Christian König
; Pan, Xinhui
; amd-gfx@lists.freedesktop.org; Wentland, Harry
*Cc:* Deucher, Alexander ; Fan, Shikang
*Subject:* Re: 回复: [PATCH] drm/amdgpu: Ignore first evction failure
during suspend
[+Harry]
Am 13.09.23
; amd-gfx@lists.freedesktop.org;
Wentland, Harry
*Cc:* Deucher, Alexander ; Fan, Shikang
*Subject:* RE: 回复: [PATCH] drm/amdgpu: Ignore first evction failure
during suspend
Chris,
I can dump these busy BOs with their alloc/free stack later today.
BTW, the two evictions and the kfd suspend
, September 14, 2023 8:02 AM
*To:* Koenig, Christian ; Kuehling, Felix
; Christian König
; amd-gfx@lists.freedesktop.org;
Wentland, Harry
*Cc:* Deucher, Alexander ; Fan, Shikang
*Subject:* RE: 回复: [PATCH] drm/amdgpu: Ignore first evction failure
during suspend
Chris,
I can dump these busy BOs
, Christian
Sent: Wednesday, September 13, 2023 10:29 PM
To: Kuehling, Felix ; Christian König
; Pan, Xinhui ;
amd-gfx@lists.freedesktop.org; Wentland, Harry
Cc: Deucher, Alexander ; Fan, Shikang
Subject: Re: 回复: [PATCH] drm/amdgpu: Ignore first evction failure during suspend
[+Harry]
Am
-gfx@lists.freedesktop.org
*抄送:* Deucher, Alexander ; Koenig,
Christian ; Fan, Shikang
*主题:* Re: [PATCH] drm/amdgpu: Ignore first evction failure during
suspend
When amdgpu_device_suspend() is called processes should be frozen
already. In other words KFD queues etc... should already be idle.
So
an König
*发送时间:* 2023年9月12日 17:01
*收件人:* Pan, Xinhui ;
amd-gfx@lists.freedesktop.org
*抄送:* Deucher, Alexander ; Koenig,
Christian ; Fan, Shikang
*主题:* Re: [PATCH] drm/amdgpu: Ignore first evction failure during
suspend
When amdgpu_device_suspend() is called processes should be frozen
already
enig,
Christian ; Fan, Shikang
*主题:* Re: [PATCH] drm/amdgpu: Ignore first evction failure during
suspend
When amdgpu_device_suspend() is called processes should be frozen
already. In other words KFD queues etc... should already be idle.
So when the eviction fails here we missed something previo
tTest.BasicTest
pm-suspend
thanks
xinhui
发件人: Christian König
发送时间: 2023年9月12日 17:01
收件人: Pan, Xinhui ; amd-gfx@lists.freedesktop.org
抄送: Deucher, Alexander ; Koenig, Christian
; Fan, Shikang
主题: Re: [PATCH] drm/amdgpu: Ignore first evction failure du
@lists.freedesktop.org
Cc: Deucher, Alexander ; Koenig, Christian
; Fan, Shikang
Subject: Re: [PATCH] drm/amdgpu: Ignore first evction failure during suspend
Am 08.09.23 um 05:39 schrieb xinhui pan:
Some BOs might be pinned. So the first eviction's failure will abort
the suspend sequence. These pinned BOs
Some BOs might be in use or locked and then the first eviction's failure
will abort the suspend sequence. We will try to unlock or stop any user
accessing these BOs afterwards during suspend. So only the second
eviction should succeed.
Actaully the first eviction has evicted most BOs, so that
] drm/amdgpu: Ignore first evction failure during suspend
Am 08.09.23 um 05:39 schrieb xinhui pan:
> Some BOs might be pinned. So the first eviction's failure will abort
> the suspend sequence. These pinned BOs will be unpined afterwards
> during suspend.
That doesn't make much sense sin
Am 08.09.23 um 05:39 schrieb xinhui pan:
Some BOs might be pinned. So the first eviction's failure will abort the
suspend sequence. These pinned BOs will be unpined afterwards during
suspend.
That doesn't make much sense since pinned BOs don't cause eviction
failure here.
What exactly is
Some BOs might be pinned. So the first eviction's failure will abort the
suspend sequence. These pinned BOs will be unpined afterwards during
suspend.
Actaully it has evicted most BOs, so that should stil work fine in sriov
full access mode.
Fixes: 47ea20762bb7 ("drm/amdgpu: Add an extra
14 matches
Mail list logo