From: Jani Nikula Date: Tue, 16 Nov 2021 17:14:30 +0000 (+0200) Subject: drm/i915: drop intel_display.h include from intel_ddi.h X-Git-Tag: v6.6.17~3937^2~17^2~1968 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f51260f0eda41a19dff4023d14d543907f0f967;p=platform%2Fkernel%2Flinux-rpi.git drm/i915: drop intel_display.h include from intel_ddi.h Use forward declarations instead. Signed-off-by: Jani Nikula Reviewed-by: Daniel Vetter Reviewed-by: Imre Deak Link: https://patchwork.freedesktop.org/patch/msgid/20211116171434.20516-1-jani.nikula@intel.com --- diff --git a/drivers/gpu/drm/i915/display/intel_ddi.h b/drivers/gpu/drm/i915/display/intel_ddi.h index 6f4551c9d5b7..c2fea6562917 100644 --- a/drivers/gpu/drm/i915/display/intel_ddi.h +++ b/drivers/gpu/drm/i915/display/intel_ddi.h @@ -6,11 +6,11 @@ #ifndef __INTEL_DDI_H__ #define __INTEL_DDI_H__ -#include "intel_display.h" #include "i915_reg.h" struct drm_connector_state; struct drm_i915_private; +struct intel_atomic_state; struct intel_connector; struct intel_crtc; struct intel_crtc_state; @@ -18,6 +18,8 @@ struct intel_dp; struct intel_dpll_hw_state; struct intel_encoder; struct intel_shared_dpll; +enum pipe; +enum port; enum transcoder; i915_reg_t dp_tp_ctl_reg(struct intel_encoder *encoder,