aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorSunil Khatri <[email protected]>2024-10-09 13:26:36 +0000
committerAlex Deucher <[email protected]>2024-10-22 21:50:39 +0000
commitaa980de3b5891009cbf1095543bf2577f7e5549d (patch)
treea24f291555e94dbddf4c2af749660020e5c0037a /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parentdrm/amdgpu: clean the dummy resume functions (diff)
downloadkernel-aa980de3b5891009cbf1095543bf2577f7e5549d.tar.gz
kernel-aa980de3b5891009cbf1095543bf2577f7e5549d.zip
drm/amdgpu: clean the dummy suspend functions
Remove the dummy suspend functions for all ip blocks. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
index 1383fd1644d6..4d82e8fec0f5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
@@ -66,11 +66,6 @@ static int isp_hw_fini(struct amdgpu_ip_block *ip_block)
return -ENODEV;
}
-static int isp_suspend(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;
@@ -161,7 +156,6 @@ static const struct amd_ip_funcs isp_ip_funcs = {
.late_init = NULL,
.hw_init = isp_hw_init,
.hw_fini = isp_hw_fini,
- .suspend = isp_suspend,
.is_idle = isp_is_idle,
.wait_for_idle = isp_wait_for_idle,
.soft_reset = isp_soft_reset,