diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2021-04-09 06:26:27 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-20 05:43:52 +0300 |
commit | 7141394edc05f439751e4eb2e5aedb4889b48e33 (patch) | |
tree | 11a9f762a7fe74c5c8595905fc75b736649797ae /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4e94272f8a99e0235353a024f37be1201acf4c8b (diff) | |
download | linux-7141394edc05f439751e4eb2e5aedb4889b48e33.tar.xz |
drm/amdgpu: Simplify AQL queue mapping
Do AQL queue double-mapping with a single attach call. That will make it
easier to create per-GPU BOs later, to be shared between the two BO VA
mappings on the same GPU.
Freeing the attachments is not necessary if map_to_gpu fails. These will be
cleaned up when the kdg_mem object is destroyed in
amdgpu_amdkfd_gpuvm_free_memory_of_gpu.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Oak Zeng <Oak.Zeng@amd.com>
Acked-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions