OSDN Git Service

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)
commite43488493cbb46e862f83c66887f3e6cb854c6f0
tree1fc7e3f0c6aa1e68ad9809abbbc43d51e1e2fa2b
parentaaca8c386136c27d199b318a1f3571d8a25edea3
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