diff options
| author | Philip Yang <[email protected]> | 2024-06-20 11:53:50 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-23 17:35:04 -0400 |
| commit | fb91065851cd5f2735348c5f3eddeeca3d7c2973 (patch) | |
| tree | 5915ac247b3fa03df7ada920fa42cc84f19335f7 /tools/perf/scripts/python | |
| parent | db54a725d57985c869f6fe4153a36cd229ab0b73 (diff) | |
drm/amdkfd: Refactor queue wptr_bo GART mapping
Add helper function kfd_queue_acquire_buffers to get queue wptr_bo
reference from queue write_ptr if it is mapped to the KFD node with
expected size.
Add wptr_bo to structure queue_properties because structure queue is
allocated after queue buffers are validated, then we can remove wptr_bo
parameter from pqm_create_queue.
Rename structure queue wptr_bo_gart to hold wptr_bo reference for GART
mapping and umapping. Move MES wptr_bo_gart mapping to init_user_queue,
the same location with queue ctx_bo GART mapping.
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