]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Use a new capability bit for SRAM ECC
authorFelix Kuehling <Felix.Kuehling@amd.com>
Thu, 10 Sep 2020 19:06:53 +0000 (15:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Mar 2021 20:12:48 +0000 (15:12 -0500)
commit8ba235cb8a02c47aee416d2dda6978bb522638fb
tree6b4b468a254574a793776cdd1db5f645fa129373
parentaf28b4d3a71b163e29fc5e172bd04cae86335b54
drm/amdkfd: Use a new capability bit for SRAM ECC

Existing, buggy user mode breaks when SRAM ECC is correctly reported as
"enabled". To avoid breaking existing user mode, deprecate that bit and
leave it as 0. Define a new bit to report the actual SRAM ECC mode that
new, correct user mode can use in the future.

Fixes: 7ec177bdcfc1 ("drm/amdkfd: fix set kfd node ras properties value")
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_topology.h