diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-05-22 12:48:43 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-05-27 11:25:53 +0300 |
commit | 62384da2a04d7a61d840ad099fc9d0d065b31208 (patch) | |
tree | c902effd412ea2ad67310f99b672098bf21ed0a4 /drivers/gpu/drm/i915/display/intel_encoder.c | |
parent | 6f142c52d3ce6eca626b1444a0694d27de6be993 (diff) |
drm/i915: stop including display/intel_display_{core, limits}.h from i915_drv.h
Make i915->display pointer opaque to most of core i915 driver. Lots of
places now need explicit include of intel_display_core.h, or a more
specific header.
With this dependency broken, changes in display should cause radically
less recompilation of i915.
Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Link: https://lore.kernel.org/r/b381b59acb7e4f600e0282935a68aedf77768109.1747907216.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_encoder.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_encoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_encoder.c b/drivers/gpu/drm/i915/display/intel_encoder.c index 21d638535497..bad452ad979a 100644 --- a/drivers/gpu/drm/i915/display/intel_encoder.c +++ b/drivers/gpu/drm/i915/display/intel_encoder.c @@ -6,7 +6,7 @@ #include <linux/workqueue.h> #include "i915_drv.h" - +#include "intel_display_core.h" #include "intel_display_types.h" #include "intel_encoder.h" |