]> 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)
commitec22471676f1200d279fdc9d178303cd7985afec
tree6b4b468a254574a793776cdd1db5f645fa129373
parente090c1034a1b2763b45bf825a9d5e319131f48c2
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