diff options
author | Sunil Khatri <sunil.khatri@amd.com> | 2024-09-26 18:17:32 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-02 00:40:43 +0300 |
commit | 36aa9ab9c0c4a41fe334ab39951773f21709f89d (patch) | |
tree | 72a9b3e87e9b28b53c0e535fad155acd2138eac3 /drivers/gpu/drm/amd/include/amd_shared.h | |
parent | d5347e8d2711bb01c79698408ec189a7b7cfe45e (diff) | |
download | linux-36aa9ab9c0c4a41fe334ab39951773f21709f89d.tar.xz |
drm/amdgpu: update the handle ptr in sw_fini
update the *handle to amdgpu_ip_block ptr for all
functions pointers of sw_fini.
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 2f956a09465d..4a10a804f130 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -382,7 +382,7 @@ struct amd_ip_funcs { int (*early_init)(struct amdgpu_ip_block *ip_block); int (*late_init)(struct amdgpu_ip_block *ip_block); int (*sw_init)(struct amdgpu_ip_block *ip_block); - int (*sw_fini)(void *handle); + int (*sw_fini)(struct amdgpu_ip_block *ip_block); int (*early_fini)(void *handle); int (*hw_init)(void *handle); int (*hw_fini)(void *handle); |