aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_load_detect.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2025-03-26 13:54:52 +0200
committerJani Nikula <jani.nikula@intel.com>2025-04-01 11:48:18 +0300
commit513c1a2ec4c6e520798f17b6d8af7a9881fdd69a (patch)
treeffe1675583216dce48f8db9f485f7feb99e49a9a /drivers/gpu/drm/i915/display/intel_load_detect.c
parentdrm/i915/gvt: update MAINTAINERS (diff)
downloadlinux-513c1a2ec4c6e520798f17b6d8af7a9881fdd69a.tar.gz
linux-513c1a2ec4c6e520798f17b6d8af7a9881fdd69a.zip
drm/i915: reduce intel_wakeref.h dependencies
Forward declare struct drm_printer instead of including drm/drm_print.h, as we only need the pointer. Turns out quite a few places depend on this include implicitly. Make them explicit. Some of the includes are just stale and unnecessary. Group the forward declarations together while at it. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://lore.kernel.org/r/20250326115452.2090275-1-jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_load_detect.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_load_detect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_load_detect.c b/drivers/gpu/drm/i915/display/intel_load_detect.c
index 86cc03a4413c..aad52d0d83e1 100644
--- a/drivers/gpu/drm/i915/display/intel_load_detect.c
+++ b/drivers/gpu/drm/i915/display/intel_load_detect.c
@@ -6,6 +6,7 @@
#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_atomic_uapi.h>
+#include <drm/drm_print.h>
#include "intel_atomic.h"
#include "intel_crtc.h"