diff options
| author | 2024-09-30 15:00:30 +0530 | |
|---|---|---|
| committer | 2024-10-01 17:45:44 -0400 | |
| commit | 0ef2a1e7aff53967958c2b87eecfac61cd9ed213 (patch) | |
| tree | 91c59802d97c062987b91db79c81ab1463fc489b /drivers/gpu/drm/amd/include/amd_shared.h | |
| parent | drm/amdgpu/gfx9: Add Cleaner Shader Deinitialization in gfx_v9_0 Module (diff) | |
| download | wireguard-linux-0ef2a1e7aff53967958c2b87eecfac61cd9ed213.tar.xz wireguard-linux-0ef2a1e7aff53967958c2b87eecfac61cd9ed213.zip | |
drm/amdgpu: update the handle ptr in soft_reset
Update the *handle to amdgpu_ip_block ptr for all
functions pointers of soft_reset.
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/include/amd_shared.h')
| -rw-r--r-- | drivers/gpu/drm/amd/include/amd_shared.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index 15cd8288b9ac..97a1726cd968 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -394,7 +394,7 @@ struct amd_ip_funcs { int (*wait_for_idle)(void *handle); bool (*check_soft_reset)(struct amdgpu_ip_block *ip_block); int (*pre_soft_reset)(struct amdgpu_ip_block *ip_block); - int (*soft_reset)(void *handle); + int (*soft_reset)(struct amdgpu_ip_block *ip_block); int (*post_soft_reset)(void *handle); int (*set_clockgating_state)(void *handle, enum amd_clockgating_state state); |
