summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authoryipechai <YiPeng.Chai@amd.com>2022-02-14 14:12:55 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-02-17 15:59:04 -0500
commit4e9b1fa5a2757d11a5c40eed2b2b4837dcb2f12e (patch)
tree08238d6c22b48934a93ff8ed09d1260297c595b5 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentf83e14011e042adc196f1dac7cb235c70798c231 (diff)
downloadlinux-4e9b1fa5a2757d11a5c40eed2b2b4837dcb2f12e.tar.gz
linux-4e9b1fa5a2757d11a5c40eed2b2b4837dcb2f12e.tar.bz2
linux-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 <YiPeng.Chai@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
index fe392108b5c2..b7470ed7bc25 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
@@ -622,7 +622,7 @@ int amdgpu_get_gfx_off_status(struct amdgpu_device *adev, uint32_t *value)
return r;
}
-int amdgpu_gfx_ras_late_init(struct amdgpu_device *adev, void *ras_info)
+int amdgpu_gfx_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block)
{
int r;
r = amdgpu_ras_block_late_init(adev, adev->gfx.ras_if);