OSDN Git Service

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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jul 2021 04:05:18 +0000 (00:05 -0400)
commitaa6158112645aae514982ad8d56df64428fcf203
tree1d2165f1f9c94cc61a9f64e5ada35435cf5edd2f
parent06ac9b6c736ac9da600b1782d7ac6d6e746286c4
drm/amdgpu: Update NV SIMD-per-CU to 2

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
drivers/gpu/drm/amd/include/navi10_enum.h