summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2024-09-30 17:00:38 +0530
committerAlex Deucher <alexander.deucher@amd.com>2024-10-07 14:02:45 -0400
commit982d7f9bfe4a50334543ef97808615693d7ac29e (patch)
treecbc5e6489b75bfe0c56f8fad257ebbb1161c86bf /drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
parent82ae6619a450a53dd606d29df72f75d22d5d195a (diff)
drm/amdgpu: update the handle ptr in suspend
Update the *handle to amdgpu_ip_block ptr for all functions pointers of suspend. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c b/drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
index e0c051818b5b..3008d806ad5a 100644
--- a/drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
+++ b/drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
@@ -80,7 +80,7 @@ static int smu_v13_0_10_mode2_suspend_ip(struct amdgpu_device *adev)
AMD_IP_BLOCK_TYPE_MES))
continue;
- r = adev->ip_blocks[i].version->funcs->suspend(adev);
+ r = adev->ip_blocks[i].version->funcs->suspend(&adev->ip_blocks[i]);
if (r) {
dev_err(adev->dev,