diff options
| author | Philip Yang <[email protected]> | 2024-06-20 12:31:36 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-23 17:42:54 -0400 |
| commit | 834368eab36922595a402b9e76470f8efa2fac7f (patch) | |
| tree | 51d83dba64bc1d07dc6141c8422040df547f39a5 /tools/perf/scripts/python | |
| parent | 22a9d5cbf88a92ac6cd473c3ba1c369aee8fec9a (diff) | |
drm/amdkfd: Ensure user queue buffers residency
Add atomic queue_refcount to struct bo_va, return -EBUSY to fail unmap
BO from the GPU if the bo_va queue_refcount is not zero.
Create queue to increase the bo_va queue_refcount, destroy queue to
decrease the bo_va queue_refcount, to ensure the queue buffers mapped on
the GPU when queue is active.
Signed-off-by: Philip Yang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions