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 07:44:56 +0000 (09:44 +0200)
commit8f933b27cbf1cd176f0a73ddeae19fae5e9bc189
tree3ce2b9aa2fcb72dad4850312c5091badfbc052f0
parent97ebbfe445cd695250ff0ede4fa6e9e5257e2221
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