summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGraham Sider <Graham.Sider@amd.com>2021-11-18 01:32:37 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-12-02 00:15:37 +0300
commitf0dc99a6f742bce9f5e45a6ca48bc4f1f8c6bac8 (patch)
tree7e0ba51c0fe150ecf50b009d47789234664e6f59 /tools/perf/scripts/python
parentb7675b7bbc3c4c64731d6df66a1df7abd0fe2f9e (diff)
downloadlinux-f0dc99a6f742bce9f5e45a6ca48bc4f1f8c6bac8.tar.xz
drm/amdkfd: add kfd_device_info_init function
Initializes kfd->device_info given either asic_type (enum) if GFX version is less than GFX9, or GC IP version if greater. Also takes in vf and the target compiler gfx version. Uses SDMA version to determine num_sdma_queues_per_engine. Convert device_info to a non-pointer member of kfd, change references accordingly. Change unsupported asic condition to only probe f2g, move device_info initialization post-switch. Signed-off-by: Graham Sider <Graham.Sider@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions