drm/i915: rename intel_drv.h to display/intel_display_types.h
Everything about the file is about display, and mostly about types related to display. Move under display/ as intel_display_types.h to reflect the facts. There's still plenty to clean up, but start off with moving the file where it logically belongs and naming according to contents. v2: fix the include guard name in the renamed file Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190806113933.11799-1-jani.nikula@intel.com
This commit is contained in:
parent
a09d9a8002
commit
1d455f8de8
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dvo_dev.h"
|
||||
|
||||
#define CH7017_TV_DISPLAY_MODE 0x00
|
||||
|
|
|
@ -26,7 +26,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
**************************************************************************/
|
||||
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dvo_dev.h"
|
||||
|
||||
#define CH7xxx_REG_VID 0x4a
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dvo_dev.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include "i915_drv.h"
|
||||
#include "i915_reg.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dvo_dev.h"
|
||||
|
||||
#define NS2501_VID 0x1305
|
||||
|
|
|
@ -26,7 +26,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
**************************************************************************/
|
||||
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dvo_dev.h"
|
||||
|
||||
#define SIL164_VID 0x0001
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dvo_dev.h"
|
||||
|
||||
/* register definitions according to the TFP410 data sheet */
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <drm/drm_plane_helper.h>
|
||||
|
||||
#include "intel_atomic.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_hdcp.h"
|
||||
#include "intel_sprite.h"
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#include "i915_trace.h"
|
||||
#include "intel_atomic_plane.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_pm.h"
|
||||
#include "intel_sprite.h"
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_audio.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_lpe_audio.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <drm/drm_atomic_state_helper.h>
|
||||
|
||||
#include "intel_bw.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_sideband.h"
|
||||
|
||||
/* Parameters for Qclk Geyserville (QGV) */
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
*/
|
||||
|
||||
#include "intel_cdclk.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_sideband.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
|
||||
#include "intel_color.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
|
||||
#define CTM_COEFF_SIGN (1ULL << 63)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
|
||||
#include "intel_combo_phy.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
|
||||
#define for_each_combo_phy(__dev_priv, __phy) \
|
||||
for ((__phy) = PHY_A; (__phy) < I915_MAX_PHYS; (__phy)++) \
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_connector.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_hdcp.h"
|
||||
|
||||
int intel_connector_init(struct intel_connector *connector)
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include "intel_connector.h"
|
||||
#include "intel_crt.h"
|
||||
#include "intel_ddi.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_fifo_underrun.h"
|
||||
#include "intel_gmbus.h"
|
||||
#include "intel_hotplug.h"
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
#include "intel_combo_phy.h"
|
||||
#include "intel_connector.h"
|
||||
#include "intel_ddi.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dp.h"
|
||||
#include "intel_dp_link_training.h"
|
||||
#include "intel_dpio_phy.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_dsi.h"
|
||||
#include "intel_fifo_underrun.h"
|
||||
#include "intel_gmbus.h"
|
||||
|
|
|
@ -62,9 +62,9 @@
|
|||
#include "intel_atomic.h"
|
||||
#include "intel_atomic_plane.h"
|
||||
#include "intel_bw.h"
|
||||
#include "intel_color.h"
|
||||
#include "intel_cdclk.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_color.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_fbc.h"
|
||||
#include "intel_fbdev.h"
|
||||
#include "intel_fifo_underrun.h"
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
#include "intel_cdclk.h"
|
||||
#include "intel_combo_phy.h"
|
||||
#include "intel_csr.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dpio_phy.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_hotplug.h"
|
||||
#include "intel_sideband.h"
|
||||
#include "intel_tc.h"
|
||||
|
|
|
@ -22,8 +22,9 @@
|
|||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
* IN THE SOFTWARE.
|
||||
*/
|
||||
#ifndef __INTEL_DRV_H__
|
||||
#define __INTEL_DRV_H__
|
||||
|
||||
#ifndef __INTEL_DISPLAY_TYPES_H__
|
||||
#define __INTEL_DISPLAY_TYPES_H__
|
||||
|
||||
#include <linux/async.h>
|
||||
#include <linux/i2c.h>
|
||||
|
@ -1506,4 +1507,4 @@ static inline u32 intel_plane_ggtt_offset(const struct intel_plane_state *state)
|
|||
return i915_ggtt_offset(state->vma);
|
||||
}
|
||||
|
||||
#endif /* __INTEL_DRV_H__ */
|
||||
#endif /* __INTEL_DISPLAY_TYPES_H__ */
|
|
@ -49,11 +49,11 @@
|
|||
#include "intel_audio.h"
|
||||
#include "intel_connector.h"
|
||||
#include "intel_ddi.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dp.h"
|
||||
#include "intel_dp_link_training.h"
|
||||
#include "intel_dp_mst.h"
|
||||
#include "intel_dpio_phy.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_fifo_underrun.h"
|
||||
#include "intel_hdcp.h"
|
||||
#include "intel_hdmi.h"
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dp_aux_backlight.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
static void set_aux_backlight_enable(struct intel_dp *intel_dp, bool enable)
|
||||
{
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dp.h"
|
||||
#include "intel_dp_link_training.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
static void
|
||||
intel_dp_dump_link_status(const u8 link_status[DP_LINK_STATUS_SIZE])
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
#include "intel_audio.h"
|
||||
#include "intel_connector.h"
|
||||
#include "intel_ddi.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dp.h"
|
||||
#include "intel_dp_mst.h"
|
||||
#include "intel_dpio_phy.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
static int intel_dp_mst_compute_link_config(struct intel_encoder *encoder,
|
||||
struct intel_crtc_state *crtc_state,
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
#include "display/intel_dp.h"
|
||||
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dpio_phy.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_sideband.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dpio_phy.h"
|
||||
#include "intel_dpll_mgr.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
/**
|
||||
* DOC: Display PLLs
|
||||
|
|
|
@ -26,7 +26,8 @@
|
|||
|
||||
#include <drm/drm_crtc.h>
|
||||
#include <drm/drm_mipi_dsi.h>
|
||||
#include "intel_drv.h"
|
||||
|
||||
#include "intel_display_types.h"
|
||||
|
||||
#define INTEL_DSI_VIDEO_MODE 0
|
||||
#define INTEL_DSI_COMMAND_MODE 1
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <video/mipi_display.h>
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dsi.h"
|
||||
#include "intel_dsi_dcs_backlight.h"
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include <video/mipi_display.h>
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dsi.h"
|
||||
#include "intel_sideband.h"
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_connector.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dvo.h"
|
||||
#include "intel_dvo_dev.h"
|
||||
#include "intel_gmbus.h"
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
#include <drm/drm_fourcc.h>
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_fbc.h"
|
||||
#include "intel_frontbuffer.h"
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include <drm/i915_drm.h>
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_fbdev.h"
|
||||
#include "intel_frontbuffer.h"
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "i915_drv.h"
|
||||
#include "i915_trace.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_fbc.h"
|
||||
#include "intel_fifo_underrun.h"
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
#include "display/intel_dp.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_fbc.h"
|
||||
#include "intel_frontbuffer.h"
|
||||
#include "intel_psr.h"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <drm/i915_drm.h>
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_gmbus.h"
|
||||
|
||||
struct gmbus_pin {
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <drm/i915_component.h>
|
||||
|
||||
#include "i915_reg.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_hdcp.h"
|
||||
#include "intel_sideband.h"
|
||||
|
||||
|
|
|
@ -45,17 +45,17 @@
|
|||
#include "intel_audio.h"
|
||||
#include "intel_connector.h"
|
||||
#include "intel_ddi.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dp.h"
|
||||
#include "intel_dpio_phy.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_fifo_underrun.h"
|
||||
#include "intel_gmbus.h"
|
||||
#include "intel_hdcp.h"
|
||||
#include "intel_hdmi.h"
|
||||
#include "intel_hotplug.h"
|
||||
#include "intel_lspcon.h"
|
||||
#include "intel_sdvo.h"
|
||||
#include "intel_panel.h"
|
||||
#include "intel_sdvo.h"
|
||||
#include "intel_sideband.h"
|
||||
|
||||
static struct drm_device *intel_hdmi_to_dev(struct intel_hdmi *intel_hdmi)
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <drm/i915_drm.h>
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_hotplug.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
#include <drm/drm_dp_dual_mode_helper.h>
|
||||
#include <drm/drm_edid.h>
|
||||
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dp.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_lspcon.h"
|
||||
|
||||
/* LSPCON OUI Vendor ID(signatures) */
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#include "i915_drv.h"
|
||||
#include "intel_atomic.h"
|
||||
#include "intel_connector.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_gmbus.h"
|
||||
#include "intel_lvds.h"
|
||||
#include "intel_panel.h"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "display/intel_panel.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_opregion.h"
|
||||
|
||||
#define OPREGION_HEADER_OFFSET 0
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include "i915_drv.h"
|
||||
#include "i915_reg.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_frontbuffer.h"
|
||||
#include "intel_overlay.h"
|
||||
|
||||
|
|
|
@ -35,8 +35,8 @@
|
|||
#include <linux/pwm.h>
|
||||
|
||||
#include "intel_connector.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dp_aux_backlight.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_dsi_dcs_backlight.h"
|
||||
#include "intel_panel.h"
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <linux/seq_file.h>
|
||||
|
||||
#include "intel_atomic.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_pipe_crc.h"
|
||||
|
||||
static const char * const pipe_crc_sources[] = {
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "display/intel_dp.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_psr.h"
|
||||
#include "intel_sprite.h"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <linux/dmi.h>
|
||||
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_quirks.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include "i915_drv.h"
|
||||
#include "intel_atomic.h"
|
||||
#include "intel_connector.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_fifo_underrun.h"
|
||||
#include "intel_gmbus.h"
|
||||
#include "intel_hdmi.h"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#include "i915_drv.h"
|
||||
#include "i915_trace.h"
|
||||
#include "intel_atomic_plane.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_frontbuffer.h"
|
||||
#include "intel_pm.h"
|
||||
#include "intel_psr.h"
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_display.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dp_mst.h"
|
||||
#include "intel_tc.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
static const char *tc_port_mode_name(enum tc_port_mode mode)
|
||||
{
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_connector.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_hotplug.h"
|
||||
#include "intel_tv.h"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <drm/i915_drm.h>
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_vdsc.h"
|
||||
|
||||
enum ROW_INDEX_BPP {
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include "i915_drv.h"
|
||||
#include "intel_atomic.h"
|
||||
#include "intel_connector.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dsi.h"
|
||||
#include "intel_fifo_underrun.h"
|
||||
#include "intel_panel.h"
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include <linux/kernel.h>
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_display_types.h"
|
||||
#include "intel_dsi.h"
|
||||
#include "intel_sideband.h"
|
||||
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
/*
|
||||
* Copyright © 2019 Intel Corporation
|
||||
*/
|
||||
#include "i915_gem_client_blt.h"
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
|
||||
#include "i915_gem_client_blt.h"
|
||||
#include "i915_gem_object_blt.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
struct i915_sleeve {
|
||||
struct i915_vma *vma;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <drm/drm_syncobj.h>
|
||||
#include <drm/i915_drm.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
#include "display/intel_frontbuffer.h"
|
||||
|
||||
#include "gem/i915_gem_ioctls.h"
|
||||
|
@ -24,7 +25,6 @@
|
|||
#include "i915_gem_clflush.h"
|
||||
#include "i915_gem_context.h"
|
||||
#include "i915_trace.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
enum {
|
||||
FORCE_CPU_RELOC = 1,
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <linux/mman.h>
|
||||
#include <linux/sizes.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
#include "gt/intel_gt.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
|
@ -15,7 +16,6 @@
|
|||
#include "i915_gem_object.h"
|
||||
#include "i915_trace.h"
|
||||
#include "i915_vma.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
static inline bool
|
||||
__vma_matches(struct vm_area_struct *vma, struct file *filp,
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
* Copyright © 2019 Intel Corporation
|
||||
*/
|
||||
|
||||
#include "i915_gem_object_blt.h"
|
||||
#include "display/intel_display_types.h"
|
||||
|
||||
#include "i915_gem_object_blt.h"
|
||||
#include "i915_gem_clflush.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
int intel_emit_vma_fill_blt(struct i915_request *rq,
|
||||
struct i915_vma *vma,
|
||||
|
|
|
@ -12,11 +12,12 @@
|
|||
|
||||
#include <drm/i915_drm.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
|
||||
#include "i915_gem_ioctls.h"
|
||||
#include "i915_gem_object.h"
|
||||
#include "i915_scatterlist.h"
|
||||
#include "i915_trace.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
struct i915_mm_struct {
|
||||
struct mm_struct *mm;
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <linux/sched/mm.h>
|
||||
#include <linux/stop_machine.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
#include "display/intel_overlay.h"
|
||||
|
||||
#include "gem/i915_gem_context.h"
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include <drm/drm_debugfs.h>
|
||||
#include <drm/drm_fourcc.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
#include "display/intel_dp.h"
|
||||
#include "display/intel_fbc.h"
|
||||
#include "display/intel_hdcp.h"
|
||||
|
@ -46,7 +47,6 @@
|
|||
#include "i915_irq.h"
|
||||
#include "i915_trace.h"
|
||||
#include "intel_csr.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_pm.h"
|
||||
#include "intel_sideband.h"
|
||||
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
#include "display/intel_audio.h"
|
||||
#include "display/intel_bw.h"
|
||||
#include "display/intel_cdclk.h"
|
||||
#include "display/intel_display_types.h"
|
||||
#include "display/intel_dp.h"
|
||||
#include "display/intel_fbdev.h"
|
||||
#include "display/intel_gmbus.h"
|
||||
|
@ -76,7 +77,6 @@
|
|||
#include "i915_trace.h"
|
||||
#include "i915_vgpu.h"
|
||||
#include "intel_csr.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_pm.h"
|
||||
|
||||
static struct drm_driver driver;
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include <linux/mman.h>
|
||||
|
||||
#include "display/intel_display.h"
|
||||
#include "display/intel_display_types.h"
|
||||
#include "display/intel_frontbuffer.h"
|
||||
|
||||
#include "gem/i915_gem_clflush.h"
|
||||
|
@ -59,7 +60,6 @@
|
|||
#include "i915_trace.h"
|
||||
#include "i915_vgpu.h"
|
||||
|
||||
#include "intel_drv.h"
|
||||
#include "intel_pm.h"
|
||||
|
||||
static int
|
||||
|
|
|
@ -28,10 +28,10 @@
|
|||
|
||||
#include <drm/i915_drm.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
#include "gem/i915_gem_context.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "i915_trace.h"
|
||||
|
||||
I915_SELFTEST_DECLARE(static struct igt_evict_ctl {
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
#include <drm/i915_drm.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "i915_scatterlist.h"
|
||||
#include "i915_vgpu.h"
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
|
||||
#include <drm/i915_drm.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
#include "display/intel_frontbuffer.h"
|
||||
#include "gt/intel_gt.h"
|
||||
|
||||
|
@ -42,7 +43,6 @@
|
|||
#include "i915_scatterlist.h"
|
||||
#include "i915_trace.h"
|
||||
#include "i915_vgpu.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
#define I915_GFP_ALLOW_FAIL (GFP_KERNEL | __GFP_RETRY_MAYFAIL | __GFP_NOWARN)
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include <drm/drm_irq.h>
|
||||
#include <drm/i915_drm.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
#include "display/intel_fifo_underrun.h"
|
||||
#include "display/intel_hotplug.h"
|
||||
#include "display/intel_lpe_audio.h"
|
||||
|
@ -47,7 +48,6 @@
|
|||
#include "i915_drv.h"
|
||||
#include "i915_irq.h"
|
||||
#include "i915_trace.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_pm.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,11 +26,11 @@
|
|||
|
||||
#include <drm/i915_drm.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
#include "display/intel_fbc.h"
|
||||
#include "display/intel_gmbus.h"
|
||||
|
||||
#include "i915_reg.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
static void i915_save_display(struct drm_i915_private *dev_priv)
|
||||
{
|
||||
|
|
|
@ -30,8 +30,9 @@
|
|||
#include <linux/stat.h>
|
||||
#include <linux/sysfs.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_pm.h"
|
||||
#include "intel_sideband.h"
|
||||
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
|
||||
#include <drm/drm_drv.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
#include "gt/intel_engine.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "i915_irq.h"
|
||||
#include "intel_drv.h"
|
||||
|
||||
#undef TRACE_SYSTEM
|
||||
#define TRACE_SYSTEM i915
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "intel_drv.h"
|
||||
#include "display/intel_display_types.h"
|
||||
#include "i915_vgpu.h"
|
||||
|
||||
/**
|
||||
|
|
|
@ -34,13 +34,13 @@
|
|||
#include <drm/drm_plane_helper.h>
|
||||
|
||||
#include "display/intel_atomic.h"
|
||||
#include "display/intel_display_types.h"
|
||||
#include "display/intel_fbc.h"
|
||||
#include "display/intel_sprite.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "i915_irq.h"
|
||||
#include "i915_trace.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_pm.h"
|
||||
#include "intel_sideband.h"
|
||||
#include "../../../platform/x86/intel_ips.h"
|
||||
|
|
|
@ -24,10 +24,10 @@
|
|||
|
||||
#include <asm/iosf_mbi.h>
|
||||
|
||||
#include "intel_sideband.h"
|
||||
#include "display/intel_display_types.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_sideband.h"
|
||||
|
||||
/*
|
||||
* IOSF sideband, see VLV2_SidebandMsg_HAS.docx and
|
||||
|
|
|
@ -24,10 +24,11 @@
|
|||
#include <linux/pm_runtime.h>
|
||||
#include <asm/iosf_mbi.h>
|
||||
|
||||
#include "display/intel_display_types.h"
|
||||
|
||||
#include "i915_drv.h"
|
||||
#include "i915_trace.h"
|
||||
#include "i915_vgpu.h"
|
||||
#include "intel_drv.h"
|
||||
#include "intel_pm.h"
|
||||
|
||||
#define FORCEWAKE_ACK_TIMEOUT_MS 50
|
||||
|
|
Loading…
Reference in New Issue