[PATCH] drm/amdgpu: correct xgmi_wafl block name

Zhou1, Tao Tao.Zhou1 at amd.com
Tue Mar 28 10:52:39 UTC 2023


[AMD Official Use Only - General]

Reviewed-by: Tao Zhou <tao.zhou1 at amd.com>

> -----Original Message-----
> From: Zhang, Hawking <Hawking.Zhang at amd.com>
> Sent: Tuesday, March 28, 2023 6:50 PM
> To: amd-gfx at lists.freedesktop.org; Zhou1, Tao <Tao.Zhou1 at amd.com>
> Cc: Zhang, Hawking <Hawking.Zhang at amd.com>
> Subject: [PATCH] drm/amdgpu: correct xgmi_wafl block name
> 
> fix backward compatibility issue to stay with the old name of xgmi_wafl node.
> 
> Signed-off-by: Hawking Zhang <Hawking.Zhang at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
> index 3fe24348d199..439925477fb8 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
> @@ -1068,7 +1068,7 @@ int amdgpu_xgmi_ras_sw_init(struct amdgpu_device
> *adev)
>  		return err;
>  	}
> 
> -	strcpy(ras->ras_block.ras_comm.name, "xgmi_wafl_pcs");
> +	strcpy(ras->ras_block.ras_comm.name, "xgmi_wafl");
>  	ras->ras_block.ras_comm.block = AMDGPU_RAS_BLOCK__XGMI_WAFL;
>  	ras->ras_block.ras_comm.type =
> AMDGPU_RAS_ERROR__MULTI_UNCORRECTABLE;
>  	adev->gmc.xgmi.ras_if = &ras->ras_block.ras_comm;
> --
> 2.17.1


More information about the amd-gfx mailing list