Commit 15162c5a authored by Jani Nikula's avatar Jani Nikula

drm/i915/display: stop including i915_drv.h from intel_display_types.h

Break the dependency on i915_drv.h.
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ee740f494e416d875e057c2eda585f4e66d65500.1638366969.git.jani.nikula@intel.com
parent 726a2d77
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include <drm/drm_crtc.h> #include <drm/drm_crtc.h>
#include <drm/drm_dp_dual_mode_helper.h> #include <drm/drm_dp_dual_mode_helper.h>
#include <drm/drm_dp_mst_helper.h> #include <drm/drm_dp_mst_helper.h>
#include <drm/drm_dsc.h>
#include <drm/drm_encoder.h> #include <drm/drm_encoder.h>
#include <drm/drm_fb_helper.h> #include <drm/drm_fb_helper.h>
#include <drm/drm_fourcc.h> #include <drm/drm_fourcc.h>
...@@ -46,13 +47,19 @@ ...@@ -46,13 +47,19 @@
#include <drm/i915_mei_hdcp_interface.h> #include <drm/i915_mei_hdcp_interface.h>
#include <media/cec-notifier.h> #include <media/cec-notifier.h>
#include "i915_drv.h" #include "i915_vma.h"
#include "i915_vma_types.h"
#include "intel_bios.h"
#include "intel_display.h"
#include "intel_display_power.h"
#include "intel_dpll_mgr.h"
#include "intel_pm_types.h" #include "intel_pm_types.h"
struct drm_printer; struct drm_printer;
struct __intel_global_objs_state; struct __intel_global_objs_state;
struct intel_ddi_buf_trans; struct intel_ddi_buf_trans;
struct intel_fbc; struct intel_fbc;
struct intel_connector;
/* /*
* Display related stuff * Display related stuff
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
* for some reason. * for some reason.
*/ */
#include "i915_drv.h"
#include "intel_backlight.h" #include "intel_backlight.h"
#include "intel_display_types.h" #include "intel_display_types.h"
#include "intel_dp.h" #include "intel_dp.h"
......
...@@ -21,11 +21,11 @@ ...@@ -21,11 +21,11 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include "i915_drv.h"
#include "intel_display_types.h" #include "intel_display_types.h"
#include "intel_dp.h" #include "intel_dp.h"
#include "intel_dp_link_training.h" #include "intel_dp_link_training.h"
static void intel_dp_reset_lttpr_common_caps(struct intel_dp *intel_dp) static void intel_dp_reset_lttpr_common_caps(struct intel_dp *intel_dp)
{ {
memset(intel_dp->lttpr_common_caps, 0, sizeof(intel_dp->lttpr_common_caps)); memset(intel_dp->lttpr_common_caps, 0, sizeof(intel_dp->lttpr_common_caps));
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
*/ */
#include <drm/drm_mipi_dsi.h> #include <drm/drm_mipi_dsi.h>
#include "i915_drv.h"
#include "intel_dsi.h" #include "intel_dsi.h"
#include "intel_panel.h" #include "intel_panel.h"
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <drm/drm_framebuffer.h> #include <drm/drm_framebuffer.h>
#include <drm/drm_modeset_helper.h> #include <drm/drm_modeset_helper.h>
#include "i915_drv.h"
#include "intel_display.h" #include "intel_display.h"
#include "intel_display_types.h" #include "intel_display_types.h"
#include "intel_dpt.h" #include "intel_dpt.h"
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
* DOC: display pinning helpers * DOC: display pinning helpers
*/ */
#include "intel_display_types.h" #include "gem/i915_gem_object.h"
#include "intel_fb_pin.h"
#include "intel_fb.h"
#include "i915_drv.h"
#include "intel_display_types.h"
#include "intel_dpt.h" #include "intel_dpt.h"
#include "intel_fb.h"
#include "gem/i915_gem_object.h" #include "intel_fb_pin.h"
static struct i915_vma * static struct i915_vma *
intel_pin_fb_obj_dpt(struct drm_framebuffer *fb, intel_pin_fb_obj_dpt(struct drm_framebuffer *fb,
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
* Copyright © 2021 Intel Corporation * Copyright © 2021 Intel Corporation
*/ */
#include "intel_display_types.h" #include "i915_drv.h"
#include "intel_plane_initial.h"
#include "intel_atomic_plane.h" #include "intel_atomic_plane.h"
#include "intel_display.h" #include "intel_display.h"
#include "intel_display_types.h"
#include "intel_fb.h" #include "intel_fb.h"
#include "intel_plane_initial.h"
static bool static bool
intel_reuse_initial_plane_obj(struct drm_i915_private *i915, intel_reuse_initial_plane_obj(struct drm_i915_private *i915,
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <linux/dmi.h> #include <linux/dmi.h>
#include "i915_drv.h"
#include "intel_display_types.h" #include "intel_display_types.h"
#include "intel_quirks.h" #include "intel_quirks.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment