RE: [PATCH 1/2] drm/amd/amdgpu embed hw_fence into amdgpu_job

2021-07-23 Thread Liu, Monk
riginal Message- From: Jingwen Chen Sent: Friday, July 23, 2021 12:42 PM To: amd-gfx@lists.freedesktop.org Cc: Liu, Monk ; Grodzovsky, Andrey ; ckoenig.leichtzumer...@gmail.com; Zhang, Jack (Jian) ; Chen, JingWen Subject: [PATCH 1/2] drm/amd/amdgpu embed hw_fence into amdgpu_job From: Jac

[PATCH 1/2] drm/amd/amdgpu embed hw_fence into amdgpu_job

2021-07-23 Thread Jingwen Chen
From: Jack Zhang Why: Previously hw fence is alloced separately with job. It caused historical lifetime issues and corner cases. The ideal situation is to take fence to manage both job and fence's lifetime, and simplify the design of gpu-scheduler. How: We propose to embed hw_fence into amdgpu_j

[PATCH 1/2] drm/amd/amdgpu embed hw_fence into amdgpu_job

2021-07-21 Thread Jingwen Chen
From: Jack Zhang Why: Previously hw fence is alloced separately with job. It caused historical lifetime issues and corner cases. The ideal situation is to take fence to manage both job and fence's lifetime, and simplify the design of gpu-scheduler. How: We propose to embed hw_fence into amdgpu_j