]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: set poison supported flag for RAS (v2)
authorTao Zhou <tao.zhou1@amd.com>
Fri, 17 Sep 2021 10:24:09 +0000 (18:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Sep 2021 13:30:07 +0000 (09:30 -0400)
commitbe6bc558d54a4a2c5784b9babfc5cd2c68eebfc9
tree1fc7e3f0c6aa1e68ad9809abbbc43d51e1e2fa2b
parent963c5edff8e4de496edb07a58705f7cd915944b5
drm/amdgpu: set poison supported flag for RAS (v2)

Add RAS poison supported flag and tell PSP RAS TA about the info.

v2: rename poison mode to poison supported, we can also disable poison
mode even we support it.
    print value of poison supported if ras feature enablement fails.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h