]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: Update NV SIMD-per-CU to 2
authorJoseph Greathouse <Joseph.Greathouse@amd.com>
Wed, 30 Jun 2021 02:08:52 +0000 (21:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 08:04:48 +0000 (10:04 +0200)
commitfb5beb2b3f06775e84abed6472ea71efb74a4a8c
treed934233358573c2259986bd2c170938d9ce1e730
parent788c261cdb58b220b91b3eb61b230fa7af802d19
drm/amdgpu: Update NV SIMD-per-CU to 2

commit aa6158112645aae514982ad8d56df64428fcf203 upstream.

Navi series GPUs have 2 SIMDs per CU (and then 2 CUs per WGP).
The NV enum headers incorrectly listed this as 4, which later meant
we were incorrectly reporting the number of SIMDs in the HSA
topology. This could cause problems down the line for user-space
applications that want to launch a fixed amount of work to each
SIMD.

Signed-off-by: Joseph Greathouse <Joseph.Greathouse@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/include/navi10_enum.h