diff options
| author | Jonathan Kim <[email protected]> | 2021-01-27 20:24:59 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-03-24 02:58:03 +0000 |
| commit | 4ac5617c4b7d0f0a8f879997f8ceaa14636d7554 (patch) | |
| tree | 3fc4d9fe805d7dcee45f43a29b95bcdc64612865 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amdgpu: enable 48-bit IH timestamp counter (diff) | |
| download | kernel-4ac5617c4b7d0f0a8f879997f8ceaa14636d7554.tar.gz kernel-4ac5617c4b7d0f0a8f879997f8ceaa14636d7554.zip | |
drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
The psp supplies the link type in the upper 2 bits of the psp xgmi node
information num_hops field. With a new link type, Aldebaran has these
bits set to a non-zero value (1 = xGMI3) so the KFD topology will report
the incorrect IO link weights without proper masking.
The actual number of hops is located in the 3 least significant bits of
this field so mask if off accordingly before passing it to the KFD.
Signed-off-by: Jonathan Kim <[email protected]>
Reviewed-by: Amber Lin <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
