aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2024-09-30 14:32:13 +0530
committerAlex Deucher <alexander.deucher@amd.com>2024-10-01 17:43:45 -0400
commit6a9456e0e3270438b2aab5e6ef8433aa25c8f974 (patch)
treec3c4ffe3ce87ab9f83219147cf901de02507e3a4 /drivers/gpu/drm/amd/include
parentdrm/amdgpu: update the handle ptr in prepare_suspend (diff)
downloadlinux-6a9456e0e3270438b2aab5e6ef8433aa25c8f974.tar.gz
linux-6a9456e0e3270438b2aab5e6ef8433aa25c8f974.zip
drm/amdgpu: update the handle ptr in check_soft_reset
Update the *handle to amdgpu_ip_block ptr for all functions pointers of check_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 1939c0dcdd1d..1130dac8d173 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -392,7 +392,7 @@ struct amd_ip_funcs {
int (*resume)(void *handle);
bool (*is_idle)(void *handle);
int (*wait_for_idle)(void *handle);
- bool (*check_soft_reset)(void *handle);
+ bool (*check_soft_reset)(struct amdgpu_ip_block *ip_block);
int (*pre_soft_reset)(void *handle);
int (*soft_reset)(void *handle);
int (*post_soft_reset)(void *handle);