diff options
author | Mukul Joshi <mukul.joshi@amd.com> | 2024-09-16 20:33:58 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-09-25 18:56:00 +0200 |
commit | 6ae9e1aba97e4cdaa31a0bfdc07497ad0e915c84 (patch) | |
tree | 821af9df5ef4c77d195ca1142f28ffdc750a2c88 /security/landlock | |
parent | drm/amdgpu: skip coredump after job timeout in SRIOV (diff) | |
download | linux-6ae9e1aba97e4cdaa31a0bfdc07497ad0e915c84.tar.xz linux-6ae9e1aba97e4cdaa31a0bfdc07497ad0e915c84.zip |
drm/amdkfd: Update logic for CU occupancy calculations
Currently, the code uses the IH_VMID_X_LUT register to map
a queue's vmid to the corresponding PASID. This logic is racy
since CP can update the VMID-PASID mapping anytime especially
when there are more processes than number of vmids. Update the
logic to calculate CU occupancy by matching doorbell offset of
the queue with valid wave counts against the process's queues.
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'security/landlock')
0 files changed, 0 insertions, 0 deletions