diff options
| author | Sunil Khatri <[email protected]> | 2024-09-30 11:30:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-10-07 18:02:45 +0000 |
| commit | 982d7f9bfe4a50334543ef97808615693d7ac29e (patch) | |
| tree | cbc5e6489b75bfe0c56f8fad257ebbb1161c86bf /drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c | |
| parent | drm/amdgpu: update the handle ptr in wait_for_idle (diff) | |
| download | kernel-982d7f9bfe4a50334543ef97808615693d7ac29e.tar.gz kernel-982d7f9bfe4a50334543ef97808615693d7ac29e.zip | |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c index f35fcb46861e..3e2724590dbf 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c @@ -40,7 +40,7 @@ static int amdgpu_reset_xgmi_reset_on_init_suspend(struct amdgpu_device *adev) continue; /* XXX handle errors */ - r = adev->ip_blocks[i].version->funcs->suspend(adev); + r = adev->ip_blocks[i].version->funcs->suspend(&adev->ip_blocks[i]); /* XXX handle errors */ if (r) { dev_err(adev->dev, "suspend of IP block <%s> failed %d", |
