drm/amdgpu: enable error injection to XGMI block via debugfs
allow inject error to XGMI block via debugfs node ras_ctrl Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Guchun Chen <guchun.chen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
029fbd437e
commit
f317035288
@ -704,6 +704,7 @@ int amdgpu_ras_error_inject(struct amdgpu_device *adev,
|
|||||||
break;
|
break;
|
||||||
case AMDGPU_RAS_BLOCK__UMC:
|
case AMDGPU_RAS_BLOCK__UMC:
|
||||||
case AMDGPU_RAS_BLOCK__MMHUB:
|
case AMDGPU_RAS_BLOCK__MMHUB:
|
||||||
|
case AMDGPU_RAS_BLOCK__XGMI_WAFL:
|
||||||
ret = psp_ras_trigger_error(&adev->psp, &block_info);
|
ret = psp_ras_trigger_error(&adev->psp, &block_info);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user