aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/acp/include
diff options
context:
space:
mode:
authorJonathan Kim <jonathan.kim@amd.com>2021-01-27 15:24:59 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-11 14:47:25 +0200
commit7b3eb98a3ef464d7da7dd471c63514acf4ee225d (patch)
tree9c3156d354623b47a482c9958bde2a50120ef42d /drivers/gpu/drm/amd/acp/include
parent61c1ddd29f87f83a1b010f4dc3ba506946977123 (diff)
downloadkernel_replicant_linux-7b3eb98a3ef464d7da7dd471c63514acf4ee225d.tar.gz
kernel_replicant_linux-7b3eb98a3ef464d7da7dd471c63514acf4ee225d.tar.bz2
kernel_replicant_linux-7b3eb98a3ef464d7da7dd471c63514acf4ee225d.zip
drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
[ Upstream commit 4ac5617c4b7d0f0a8f879997f8ceaa14636d7554 ] 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 <jonathan.kim@amd.com> Reviewed-by: Amber Lin <amber.lin@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/acp/include')
0 files changed, 0 insertions, 0 deletions