RE: [PATCH v4 2/4] drm/amdgpu: Add reset_context flag for host FLR

2024-04-30 Thread Luo, Zhigang
, Yunxiang (Teddy) Subject: [PATCH v4 2/4] drm/amdgpu: Add reset_context flag for host FLR There are other reset sources that pass NULL as the job pointer, such as amdgpu_amdkfd_reset_work. Therefore, using the job pointer to check if the FLR comes from the host does not work. Add a flag in

RE: [PATCH v4 2/4] drm/amdgpu: Add reset_context flag for host FLR

2024-04-28 Thread Deng, Emily
; Kuehling, >Felix ; Deng, Emily ; Li, >Yunxiang (Teddy) >Subject: [PATCH v4 2/4] drm/amdgpu: Add reset_context flag for host FLR > >There are other reset sources that pass NULL as the job pointer, such as >amdgpu_amdkfd_reset_work. Therefore, using the job pointer to check if t

[PATCH v4 2/4] drm/amdgpu: Add reset_context flag for host FLR

2024-04-26 Thread Yunxiang Li
There are other reset sources that pass NULL as the job pointer, such as amdgpu_amdkfd_reset_work. Therefore, using the job pointer to check if the FLR comes from the host does not work. Add a flag in reset_context to explicitly mark host triggered reset, and set this flag when we receive host res