aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.h
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2021-03-19 20:34:45 +0000
committerAlex Deucher <[email protected]>2021-03-22 19:24:23 +0000
commitca8ee26d616b5e1818a0c69285d8f01feec35af9 (patch)
tree41508e8a9f0e40a93ff2d3209fc15bb25e3cebda /drivers/gpu/drm/amd/amdgpu/amdgpu_display.h
parentdrm/amdgpu: don't evict vram on APUs for suspend to ram (v4) (diff)
downloadkernel-ca8ee26d616b5e1818a0c69285d8f01feec35af9.tar.gz
kernel-ca8ee26d616b5e1818a0c69285d8f01feec35af9.zip
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 <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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