summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h
diff options
context:
space:
mode:
authorWenjing Liu <wenjing.liu@amd.com>2023-02-07 01:58:52 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-02-28 22:30:00 +0300
commit7ae1dbe6547c39410d82156c96eaa9c8cf55e87a (patch)
treeaa73e9dbec9b57f292b08838482525c3c74902a2 /drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h
parent1099238b966e9b291fca40d908d6a016ce758455 (diff)
downloadlinux-7ae1dbe6547c39410d82156c96eaa9c8cf55e87a.tar.xz
drm/amd/display: merge dc_link.h into dc.h and dc_types.h
[why] Remove the need to include dc_link.h separately. dc.h should contain everything needed on DM side. [How] Merge dc_link.h into dc.h and dc_types.h so DM only needs to include dc.h to use all link public functions. Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h b/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h
index 74005b9d352a..289e42070ece 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h
+++ b/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.h
@@ -26,8 +26,9 @@
#ifndef _DMUB_PSR_H_
#define _DMUB_PSR_H_
-#include "os_types.h"
-#include "dc_link.h"
+#include "dc_types.h"
+struct dc_link;
+struct dmub_psr_funcs;
struct dmub_psr {
struct dc_context *ctx;