Re: [PATCH 1/5] drm/amdgpu: add condition check for waking up thread

2024-06-13 Thread Lazar, Lijo
On 6/13/2024 7:55 AM, YiPeng Chai wrote: > 1. Cannot add messages to fifo in gpu reset mode. > 2. Only when the message is successfully saved to the > fifo, the thread can be awakened. > I think fifo should still cache the poison requests while in reset. Page retirement thread may try to acqui

[PATCH 1/5] drm/amdgpu: add condition check for waking up thread

2024-06-12 Thread YiPeng Chai
1. Cannot add messages to fifo in gpu reset mode. 2. Only when the message is successfully saved to the fifo, the thread can be awakened. Signed-off-by: YiPeng Chai --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 16 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c | 18 +++---