diff options
| author | yipechai <[email protected]> | 2022-02-14 06:12:55 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-02-17 20:59:04 +0000 |
| commit | 4e9b1fa5a2757d11a5c40eed2b2b4837dcb2f12e (patch) | |
| tree | 08238d6c22b48934a93ff8ed09d1260297c595b5 /drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c | |
| parent | drm/amdgpu/discovery: Add sw DM function for 3.1.6 DCE (diff) | |
| download | kernel-4e9b1fa5a2757d11a5c40eed2b2b4837dcb2f12e.tar.gz kernel-4e9b1fa5a2757d11a5c40eed2b2b4837dcb2f12e.zip | |
drm/amdgpu: Modify .ras_late_init function pointer parameter
Modify .ras_late_init function pointer parameter so that
it can remove redundant intermediate calls in some ras blocks.
Signed-off-by: yipechai <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c index 9f1406e1a48a..7abf9299e0d7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c @@ -136,7 +136,7 @@ int amdgpu_umc_process_ras_data_cb(struct amdgpu_device *adev, return amdgpu_umc_do_page_retirement(adev, ras_error_status, entry, true); } -int amdgpu_umc_ras_late_init(struct amdgpu_device *adev, void *ras_info) +int amdgpu_umc_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block) { int r; |
