OSDN Git Service

drm/amdgpu: switch to common ras ta helper
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 4 May 2020 12:50:32 +0000 (20:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 May 2020 18:31:49 +0000 (14:31 -0400)
commit001a0a95ed7a1f4bfd28ad9f7763c3e9cd3ae942
tree7eecfcc6a0bcd85c365d9d49181f47043d06e21c
parent35ccba4e9fc7619941ac1ad26d9f154bfa93db9d
drm/amdgpu: switch to common ras ta helper

TRIGGER_ERROR is common ras ta command for all the
ASICs that support RAS feature. switch to common helper
to avoid duplicate implementation per IP generation

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: John Clements <john.clements@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@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_psp.h
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c