diff options
author | Sunil Khatri <sunil.khatri@amd.com> | 2024-10-17 19:56:34 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-22 17:50:39 -0400 |
commit | f13c7da11822c291aaf6375466f4dbcf0038fa20 (patch) | |
tree | 66be8263912646233a54059e43ae73dd18dedbc6 /drivers/gpu/drm/amd/amdgpu/cik.c | |
parent | aa980de3b5891009cbf1095543bf2577f7e5549d (diff) | |
download | linux-f13c7da11822c291aaf6375466f4dbcf0038fa20.tar.gz linux-f13c7da11822c291aaf6375466f4dbcf0038fa20.tar.bz2 linux-f13c7da11822c291aaf6375466f4dbcf0038fa20.zip |
drm/amdgpu: clean the dummy wait_for_idle functions
Remove the dummy wait_for_idle functions for all
ip blocks.
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/amdgpu/cik.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/cik.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cik.c b/drivers/gpu/drm/amd/amdgpu/cik.c index c8fb592f13df..52d177007287 100644 --- a/drivers/gpu/drm/amd/amdgpu/cik.c +++ b/drivers/gpu/drm/amd/amdgpu/cik.c @@ -2153,10 +2153,7 @@ static bool cik_common_is_idle(void *handle) return true; } -static int cik_common_wait_for_idle(struct amdgpu_ip_block *ip_block) -{ - return 0; -} + static int cik_common_soft_reset(struct amdgpu_ip_block *ip_block) { @@ -2184,7 +2181,6 @@ static const struct amd_ip_funcs cik_common_ip_funcs = { .hw_fini = cik_common_hw_fini, .resume = cik_common_resume, .is_idle = cik_common_is_idle, - .wait_for_idle = cik_common_wait_for_idle, .soft_reset = cik_common_soft_reset, .set_clockgating_state = cik_common_set_clockgating_state, .set_powergating_state = cik_common_set_powergating_state, |