]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: fix set kfd node ras properties value
authorStanley.Yang <Stanley.Yang@amd.com>
Mon, 17 Aug 2020 07:48:21 +0000 (15:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Aug 2020 20:40:19 +0000 (16:40 -0400)
commitcdfc52d6f501cd70f96c2d651207f0ca2d3d0f5b
treedfacb6bd7e44d05bdee35d0c4b145e3ef5e00655
parent329c97ea5cc9ad026ddac533ef53fe897bafff7a
drm/amdkfd: fix set kfd node ras properties value

The ctx->features are new RAS implementation which
is only available for Vega20 and onwards, it is not
available for vega10, vega10 should follow legacy
ECC implementation.

Changed from V1:
    wrap function to initialize kfd node properties

Changed from V2:
    remove wrap function and SDMA SRAM ECC check

Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdkfd/kfd_topology.c