summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/amd/dkms/m4/drm_helper_mode_fill_fb_struct.m43
-rw-r--r--include/kcl/backport/kcl_drm_backport.h2
-rw-r--r--include/kcl/kcl_drm.h2
3 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/dkms/m4/drm_helper_mode_fill_fb_struct.m4 b/drivers/gpu/drm/amd/dkms/m4/drm_helper_mode_fill_fb_struct.m4
index 775ebab1f983..3d662319c8e1 100644
--- a/drivers/gpu/drm/amd/dkms/m4/drm_helper_mode_fill_fb_struct.m4
+++ b/drivers/gpu/drm/amd/dkms/m4/drm_helper_mode_fill_fb_struct.m4
@@ -5,8 +5,7 @@ dnl #
AC_DEFUN([AC_AMDGPU_DRM_HELPER_MODE_FILL_FB_STRUCT], [
AC_KERNEL_DO_BACKGROUND([
AC_KERNEL_TRY_COMPILE([
- #include <linux/stddef.h>
- #include <drm/drm_modeset_helper.h>
+ #include <drm/drm_crtc_helper.h>
], [
drm_helper_mode_fill_fb_struct(NULL, NULL, NULL);
], [
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