mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
drm/amd/ras: Add ras support for umc v12_5_0
Add ras support for umc v12_5_0. Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d7f105a402
commit
3f16007d86
|
|
@ -259,7 +259,8 @@ static struct ras_core_context *amdgpu_ras_mgr_create_ras_core(struct amdgpu_dev
|
|||
init_config.nbio_ip_version = amdgpu_ip_version(adev, NBIO_HWIP, 0);
|
||||
init_config.psp_ip_version = amdgpu_ip_version(adev, MP1_HWIP, 0);
|
||||
|
||||
if (init_config.umc_ip_version == IP_VERSION(12, 0, 0))
|
||||
if (init_config.umc_ip_version == IP_VERSION(12, 0, 0) ||
|
||||
init_config.umc_ip_version == IP_VERSION(12, 5, 0))
|
||||
init_config.aca_ip_version = IP_VERSION(1, 0, 0);
|
||||
|
||||
init_config.sys_fn = &amdgpu_ras_sys_fn;
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ static const struct ras_umc_ip_func *ras_umc_get_ip_func(
|
|||
{
|
||||
switch (ip_version) {
|
||||
case IP_VERSION(12, 0, 0):
|
||||
case IP_VERSION(12, 5, 0):
|
||||
return &ras_umc_func_v12_0;
|
||||
default:
|
||||
RAS_DEV_ERR(ras_core->dev,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user