]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu: clean the dummy resume functions
authorSunil Khatri <sunil.khatri@amd.com>
Wed, 9 Oct 2024 13:22:23 +0000 (18:52 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Oct 2024 21:50:39 +0000 (17:50 -0400)
Remove the dummy resume 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>
drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c

index 9b98b40ac4db35dfd25d69e710994fe99e685568..1383fd1644d6bf8c02a2ec787a699145dc7f8f2e 100644 (file)
@@ -71,11 +71,6 @@ static int isp_suspend(struct amdgpu_ip_block *ip_block)
        return 0;
 }
 
-static int isp_resume(struct amdgpu_ip_block *ip_block)
-{
-       return 0;
-}
-
 static int isp_load_fw_by_psp(struct amdgpu_device *adev)
 {
        const struct common_firmware_header *hdr;
@@ -167,7 +162,6 @@ static const struct amd_ip_funcs isp_ip_funcs = {
        .hw_init = isp_hw_init,
        .hw_fini = isp_hw_fini,
        .suspend = isp_suspend,
-       .resume = isp_resume,
        .is_idle = isp_is_idle,
        .wait_for_idle = isp_wait_for_idle,
        .soft_reset = isp_soft_reset,