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
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