summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFlora Cui <flora.cui@amd.com>2020-06-19 10:34:26 +0800
committerFlora Cui <flora.cui@amd.com>2020-06-19 13:40:00 +0800
commite27440addee96b7a465a9cbd74425850a33b6a36 (patch)
treeb4d4742d1bd3e06544b7f6ba23fa249be658e3f2 /include
parentcf7f6785f6abe7b96065e14b5d7e8c7e7ccc3a0a (diff)
drm/amdkcl: fix header drm/drm_modeset_helper.h
introduced in v4.8-rc2-330-g1de72faf10c3 otherwise would break centos7.3 Signed-off-by: Flora Cui <flora.cui@amd.com> Reviewed-by: Yang Xiong <Yang.Xiong@amd.com>
Diffstat (limited to 'include')
-rw-r--r--include/kcl/backport/kcl_drm_backport.h2
-rw-r--r--include/kcl/kcl_drm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/kcl/backport/kcl_drm_backport.h b/include/kcl/backport/kcl_drm_backport.h
index 105b7ca93894..eced77ac96e5 100644
--- a/include/kcl/backport/kcl_drm_backport.h
+++ b/include/kcl/backport/kcl_drm_backport.h
@@ -13,7 +13,7 @@
#if defined(HAVE_CHUNK_ID_SYNOBJ_IN_OUT)
#include <drm/drm_syncobj.h>
#endif
-#include <drm/drm_modeset_helper.h>
+#include <drm/drm_crtc_helper.h>
#include <kcl/kcl_drm.h>
#if DRM_VERSION_CODE >= DRM_VERSION(4, 17, 0)
diff --git a/include/kcl/kcl_drm.h b/include/kcl/kcl_drm.h
index 5ce920a5107d..944406adfd90 100644
--- a/include/kcl/kcl_drm.h
+++ b/include/kcl/kcl_drm.h
@@ -22,7 +22,7 @@
#endif
#include <uapi/drm/drm_mode.h>
#include <kcl/header/kcl_drm_drv_h.h>
-#include <drm/drm_modeset_helper.h>
+#include <drm/drm_crtc_helper.h>
#ifndef DP_ADJUST_REQUEST_POST_CURSOR2
#define DP_ADJUST_REQUEST_POST_CURSOR2 0x20c