From 3310017c3eb890f43d8c09e2577cebe60dc084a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timur=20Krist=C3=B3f?= Date: Fri, 4 Sep 2026 20:34:08 +0200 Subject: [PATCH] drm/amdgpu: Delete unimplemented GMC v9 soft_reset() code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Acked-by: Christian König Signed-off-by: Timur Kristóf Signed-off-by: Alex Deucher --- 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 5245d8850a42..85ba228f002d 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c @@ -2313,12 +2313,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) { @@ -2357,7 +2351,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,