aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>2018-04-10 17:33:04 -0400
committerOded Gabbay <oded.gabbay@gmail.com>2018-04-10 17:33:04 -0400
commitdf03ef9342ce09985210679a734f88a269c19ff5 (patch)
tree45b3f87b50f52d8183799877f26a728f26a07125 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/amdkfd: Make doorbell size ASIC-dependent (diff)
downloadwireguard-linux-df03ef9342ce09985210679a734f88a269c19ff5.tar.xz
wireguard-linux-df03ef9342ce09985210679a734f88a269c19ff5.zip
drm/amdkfd: Clean up KFD_MMAP_ offset handling
Use bit-rotate for better clarity and remove _MASK from the #defines as these represent mmap types. Centralize all the parsing of the mmap offset in kfd_mmap and add device parameter to doorbell and reserved_mem map functions. Encode gpu_id into upper bits of vm_pgoff. This frees up the lower bits for encoding the the doorbell ID on Vega10. Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions