drm/amdgpu: output warning for unsupported ras error inject (v2)
authorTao Zhou <tao.zhou1@amd.com>
Mon, 18 Oct 2021 09:02:16 +0000 (17:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Oct 2021 21:32:52 +0000 (17:32 -0400)
commit42f88ab772a3be6e94cca559e2270f04164dc3ac
treeff23a0c739f48945312c3b72ad4ac5683710802f
parent1b5254e8d9322d34909cc452d76117e743432549
drm/amdgpu: output warning for unsupported ras error inject (v2)

Output a warning message if RAS TA returns UNSUPPORTED_ERROR_INJ status.

v2: implement it in psp_ras_ta_check_status function.

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/ta_ras_if.h