summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2021-03-19 16:34:45 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-03-22 15:24:23 -0400
commitca8ee26d616b5e1818a0c69285d8f01feec35af9 (patch)
tree41508e8a9f0e40a93ff2d3209fc15bb25e3cebda /drivers/gpu/drm/amd/amdgpu/amdgpu_display.h
parente13d002bbf1d211cfe831ad2b2ae229a351eb196 (diff)
downloadlinux-ca8ee26d616b5e1818a0c69285d8f01feec35af9.tar.bz2
drm/amdgpu: clean up non-DC suspend/resume handling
Move the non-DC specific code into the DCE IP blocks similar to how we handle DC. This cleans up the common suspend and resume pathes. Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_display.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.h
index dc7b7d116549..7b6d83e2b13c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.h
@@ -47,4 +47,7 @@ amdgpu_display_user_framebuffer_create(struct drm_device *dev,
const struct drm_format_info *
amdgpu_lookup_format_info(u32 format, uint64_t modifier);
+int amdgpu_display_suspend_helper(struct amdgpu_device *adev);
+int amdgpu_display_resume_helper(struct amdgpu_device *adev);
+
#endif