OSDN Git Service

drm/amdgpu: centralize checking for RAS TA status
authorTao Zhou <tao.zhou1@amd.com>
Fri, 15 Oct 2021 08:57:43 +0000 (16:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Oct 2021 21:32:52 +0000 (17:32 -0400)
commit1b5254e8d9322d34909cc452d76117e743432549
tree15b5dcc6d0c084a46d3fef03ce3877c183f4566e
parentc494e57992f9b85e72fac3003358387249b359b6
drm/amdgpu: centralize checking for RAS TA status

Create new function to check status returned by RAS TA.

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