diff options
| author | Jani Nikula <jani.nikula@intel.com> | 2025-03-26 13:54:52 +0200 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2025-04-01 11:48:18 +0300 |
| commit | 513c1a2ec4c6e520798f17b6d8af7a9881fdd69a (patch) | |
| tree | ffe1675583216dce48f8db9f485f7feb99e49a9a /drivers/gpu/drm/i915/display/intel_load_detect.c | |
| parent | drm/i915/gvt: update MAINTAINERS (diff) | |
| download | linux-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.c | 1 |
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" |
