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

2021-08-11 Thread Liu, Monk
Cc: Liu, Monk ; Koenig, Christian ; Grodzovsky, Andrey ; Jack Zhang ; Chen, JingWen ; Jack Zhang ; Grodzovsky, Andrey Subject: [PATCH v5] drm/amd/amdgpu embed hw_fence into amdgpu_job From: Jack Zhang Why: Previously hw fence is alloced separately with job. It caused historical lifetime

[PATCH v5] drm/amd/amdgpu embed hw_fence into amdgpu_job

2021-08-11 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