aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_tc.c
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2025-03-26 11:54:52 +0000
committerJani Nikula <[email protected]>2025-04-01 08:48:18 +0000
commit513c1a2ec4c6e520798f17b6d8af7a9881fdd69a (patch)
treeffe1675583216dce48f8db9f485f7feb99e49a9a /drivers/gpu/drm/i915/display/intel_tc.c
parentdrm/i915/gvt: update MAINTAINERS (diff)
downloadkernel-513c1a2ec4c6e520798f17b6d8af7a9881fdd69a.tar.gz
kernel-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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_tc.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_tc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_tc.c b/drivers/gpu/drm/i915/display/intel_tc.c
index 426a3c8529a3..2c6c18434a4c 100644
--- a/drivers/gpu/drm/i915/display/intel_tc.c
+++ b/drivers/gpu/drm/i915/display/intel_tc.c
@@ -3,6 +3,8 @@
* Copyright © 2019 Intel Corporation
*/
+#include <drm/drm_print.h>
+
#include "i915_reg.h"
#include "i915_utils.h"
#include "intel_atomic.h"