aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2024-09-30 14:37:11 +0530
committerAlex Deucher <alexander.deucher@amd.com>2024-10-01 17:44:41 -0400
commit9d5ee7ce88acc7f9d5843ba7916d4b421af5c921 (patch)
treef6e999743e6c3d4f7ebf32182e17818a5f02e3b0 /drivers/gpu/drm/amd/include
parentdrm/amdgpu: Fix logic to determine TOS reload (diff)
downloadlinux-9d5ee7ce88acc7f9d5843ba7916d4b421af5c921.tar.gz
linux-9d5ee7ce88acc7f9d5843ba7916d4b421af5c921.zip
drm/amdgpu: update the handle ptr in pre_soft_reset
Update the *handle to amdgpu_ip_block ptr for all functions pointers of pre_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')
-rw-r--r--drivers/gpu/drm/amd/include/amd_shared.h2
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 1130dac8d173..15cd8288b9ac 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -393,7 +393,7 @@ struct amd_ip_funcs {
bool (*is_idle)(void *handle);
int (*wait_for_idle)(void *handle);
bool (*check_soft_reset)(struct amdgpu_ip_block *ip_block);
- int (*pre_soft_reset)(void *handle);
+ int (*pre_soft_reset)(struct amdgpu_ip_block *ip_block);
int (*soft_reset)(void *handle);
int (*post_soft_reset)(void *handle);
int (*set_clockgating_state)(void *handle,