mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
drm/amdgpu: Fix error injection parameter error
Fix error injection parameter error. Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
fd0e35bdd3
commit
812b727364
|
|
@ -1661,7 +1661,7 @@ static int amdgpu_uniras_error_inject(struct amdgpu_device *adev,
|
|||
inject_req.address = info->address;
|
||||
inject_req.error_type = info->head.type;
|
||||
inject_req.instance_mask = info->instance_mask;
|
||||
inject_req.value = info->value;
|
||||
inject_req.method = info->value;
|
||||
|
||||
return amdgpu_ras_mgr_handle_ras_cmd(adev, RAS_CMD__INJECT_ERROR,
|
||||
&inject_req, sizeof(inject_req), &rsp, sizeof(rsp));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user