The soft_reset() function for GMC (memory controller) block of Vega has never been implemented, and there are no plans to implement it.
Let's delete this function, it doesn't do anything and also isn't called from anywhere. Signed-off-by: Timur Kristóf <[email protected]> --- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c index 633772fa71fd..999c4d9a6deb 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c @@ -2312,12 +2312,6 @@ static int gmc_v9_0_wait_for_idle(struct amdgpu_ip_block *ip_block) return 0; } -static int gmc_v9_0_soft_reset(struct amdgpu_ip_block *ip_block) -{ - /* XXX for emulation.*/ - return 0; -} - static int gmc_v9_0_set_clockgating_state(struct amdgpu_ip_block *ip_block, enum amd_clockgating_state state) { @@ -2356,7 +2350,6 @@ const struct amd_ip_funcs gmc_v9_0_ip_funcs = { .suspend = gmc_v9_0_suspend, .resume = gmc_v9_0_resume, .wait_for_idle = gmc_v9_0_wait_for_idle, - .soft_reset = gmc_v9_0_soft_reset, .set_clockgating_state = gmc_v9_0_set_clockgating_state, .set_powergating_state = gmc_v9_0_set_powergating_state, .get_clockgating_state = gmc_v9_0_get_clockgating_state, -- 2.55.0
