diff options
| author | Tao Zhou <[email protected]> | 2024-01-26 11:43:37 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-01-31 19:05:18 +0000 |
| commit | edfdde9013b7930674c8231720351e0ebd42cc34 (patch) | |
| tree | 2a6f5ab0cf95177591574050b33eeb1b8070e110 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/amdgpu: Update boot time errors polling sequence (diff) | |
| download | kernel-edfdde9013b7930674c8231720351e0ebd42cc34.tar.gz kernel-edfdde9013b7930674c8231720351e0ebd42cc34.zip | |
drm/amdgpu: disable RAS feature when fini
Send RAS disable feature command in fini.
Signed-off-by: Tao Zhou <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index 084289db23f9..46f3d1013e8c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c @@ -3430,7 +3430,7 @@ int amdgpu_ras_fini(struct amdgpu_device *adev) WARN(AMDGPU_RAS_GET_FEATURES(con->features), "Feature mask is not cleared"); if (AMDGPU_RAS_GET_FEATURES(con->features)) - amdgpu_ras_disable_all_features(adev, 1); + amdgpu_ras_disable_all_features(adev, 0); cancel_delayed_work_sync(&con->ras_counte_delay_work); |
