drm/amdgpu: define soc15_ras_field_entry for reuse
authorDennis Li <Dennis.Li@amd.com>
Tue, 19 Nov 2019 08:25:25 +0000 (16:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2019 19:23:09 +0000 (14:23 -0500)
commit46f719696ee62a7637116791bb4f571d030569cd
tree685f4318819260498e24b304888226d457994097
parentd98a07aea6528e7bc49c01dbad0ed3379d46ceee
drm/amdgpu: define soc15_ras_field_entry for reuse

The struct soc15_ras_field_entry will be reused by
other IPs, such as mmhub and gc

v2: rename ras_subblock_regs to gc_ras_fields_vg20,
because the future asic maybe have a different table.

Signed-off-by: Dennis Li <dennis.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/soc15.h