diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2021-08-31 17:42:15 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-09-16 09:56:23 -0400 |
commit | fb932dfeb87411a8a01c995576198bfc302df339 (patch) | |
tree | 79799a4b9f51cf1965163b9eb8d02a33cf5c0ed9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | abd0a16ac72c98c46e7a1a91d591121b9c95cf97 (diff) |
drm/amdkfd: make needs_pcie_atomics FW-version dependent
On some GPUs the PCIe atomic requirement for KFD depends on the MEC
firmware version. Add a firmware version check for this. The minimum
firmware version that works without atomics can be updated in the
device_info structure for each GPU type.
Move PCIe atomic detection from kgd2kfd_probe into kgd2kfd_device_init
because the MEC firmware is not loaded yet at the probe stage.
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions