#include "display/i9xx_plane_regs.h"
#include "display/intel_display.h"
#include "gt/intel_engine_regs.h"
#include "gt/intel_gt.h"
#include "gt/intel_gt_mcr.h"
#include "gt/intel_gt_regs.h"
#include "i915_drv.h"
#include "i915_reg.h"
#include "intel_clock_gating.h"
#include "intel_mchbar_regs.h"
#include "vlv_sideband.h"
struct drm_i915_clock_gating_funcs { … };
static void gen9_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void bxt_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void glk_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void ibx_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void g4x_disable_trickle_feed(struct drm_i915_private *dev_priv)
{ … }
static void ilk_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void cpt_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void gen6_check_mch_setup(struct drm_i915_private *i915)
{ … }
static void gen6_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void lpt_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void gen8_set_l3sqc_credits(struct drm_i915_private *i915,
int general_prio_credits,
int high_prio_credits)
{ … }
static void dg2_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void cnp_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void cfl_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void kbl_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void skl_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void bdw_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void hsw_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void ivb_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void vlv_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void chv_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void g4x_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void i965gm_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void i965g_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void gen3_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void i85x_init_clock_gating(struct drm_i915_private *i915)
{ … }
static void i830_init_clock_gating(struct drm_i915_private *i915)
{ … }
void intel_clock_gating_init(struct drm_i915_private *i915)
{ … }
static void nop_init_clock_gating(struct drm_i915_private *i915)
{ … }
#define CG_FUNCS …
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
CG_FUNCS;
#undef CG_FUNCS
void intel_clock_gating_hooks_init(struct drm_i915_private *i915)
{ … }