Lines Matching refs:drm_i915_private
71 struct drm_i915_private *dev_priv = dev->dev_private; in i8xx_disable_fbc()
94 struct drm_i915_private *dev_priv = dev->dev_private; in i8xx_enable_fbc()
142 struct drm_i915_private *dev_priv = dev->dev_private; in i8xx_fbc_enabled()
150 struct drm_i915_private *dev_priv = dev->dev_private; in g4x_enable_fbc()
173 struct drm_i915_private *dev_priv = dev->dev_private; in g4x_disable_fbc()
188 struct drm_i915_private *dev_priv = dev->dev_private; in g4x_fbc_enabled()
195 struct drm_i915_private *dev_priv = dev->dev_private; in sandybridge_blit_fbc_update()
221 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_enable_fbc()
264 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_disable_fbc()
279 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_fbc_enabled()
287 struct drm_i915_private *dev_priv = dev->dev_private; in gen7_enable_fbc()
340 struct drm_i915_private *dev_priv = dev->dev_private; in intel_fbc_enabled()
350 struct drm_i915_private *dev_priv = dev->dev_private; in gen8_fbc_sw_flush()
364 struct drm_i915_private *dev_priv = dev->dev_private; in intel_fbc_work_fn()
386 static void intel_cancel_fbc_work(struct drm_i915_private *dev_priv) in intel_cancel_fbc_work()
413 struct drm_i915_private *dev_priv = dev->dev_private; in intel_enable_fbc()
451 struct drm_i915_private *dev_priv = dev->dev_private; in intel_disable_fbc()
462 static bool set_no_fbc_reason(struct drm_i915_private *dev_priv, in set_no_fbc_reason()
493 struct drm_i915_private *dev_priv = dev->dev_private; in intel_update_fbc()
665 struct drm_i915_private *dev_priv = dev->dev_private; in i915_pineview_get_mem_freq()
704 struct drm_i915_private *dev_priv = dev->dev_private; in i915_ironlake_get_mem_freq()
832 void intel_set_memory_cxsr(struct drm_i915_private *dev_priv, bool enable) in intel_set_memory_cxsr()
879 struct drm_i915_private *dev_priv = dev->dev_private; in i9xx_get_fifo_size()
895 struct drm_i915_private *dev_priv = dev->dev_private; in i830_get_fifo_size()
912 struct drm_i915_private *dev_priv = dev->dev_private; in i845_get_fifo_size()
1105 struct drm_i915_private *dev_priv = dev->dev_private; in pineview_update_wm()
1343 struct drm_i915_private *dev_priv = crtc->dev->dev_private; in vlv_update_drain_latency()
1391 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_update_wm()
1456 struct drm_i915_private *dev_priv = dev->dev_private; in cherryview_update_wm()
1539 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_update_sprite_wm()
1566 struct drm_i915_private *dev_priv = dev->dev_private; in g4x_update_wm()
1623 struct drm_i915_private *dev_priv = dev->dev_private; in i965_update_wm()
1696 struct drm_i915_private *dev_priv = dev->dev_private; in i9xx_update_wm()
1827 struct drm_i915_private *dev_priv = dev->dev_private; in i845_update_wm()
2183 static void ilk_compute_wm_level(const struct drm_i915_private *dev_priv, in ilk_compute_wm_level()
2209 struct drm_i915_private *dev_priv = dev->dev_private; in hsw_compute_linetime_wm()
2231 struct drm_i915_private *dev_priv = dev->dev_private; in intel_read_wm_latency()
2314 static bool ilk_increase_wm_latency(struct drm_i915_private *dev_priv, in ilk_increase_wm_latency()
2331 struct drm_i915_private *dev_priv = dev->dev_private; in snb_wm_latency_quirk()
2353 struct drm_i915_private *dev_priv = dev->dev_private; in ilk_setup_wm_latency()
2429 const struct drm_i915_private *dev_priv = dev->dev_private; in intel_compute_pipe_wm()
2583 struct drm_i915_private *dev_priv = dev->dev_private; in ilk_wm_lp_latency()
2694 static unsigned int ilk_compute_wm_dirty(struct drm_i915_private *dev_priv, in ilk_compute_wm_dirty()
2746 static bool _ilk_disable_lp_wm(struct drm_i915_private *dev_priv, in _ilk_disable_lp_wm()
2780 static void ilk_write_wm_values(struct drm_i915_private *dev_priv, in ilk_write_wm_values()
2858 struct drm_i915_private *dev_priv = dev->dev_private; in ilk_disable_lp_wm()
2867 struct drm_i915_private *dev_priv = dev->dev_private; in ilk_update_wm()
2940 struct drm_i915_private *dev_priv = dev->dev_private; in ilk_pipe_wm_get_hw_state()
2988 struct drm_i915_private *dev_priv = dev->dev_private; in ilk_wm_get_hw_state()
3050 struct drm_i915_private *dev_priv = crtc->dev->dev_private; in intel_update_watermarks()
3063 struct drm_i915_private *dev_priv = plane->dev->dev_private; in intel_update_sprite_watermarks()
3113 static struct drm_i915_private *i915_mch_dev;
3117 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_set_drps()
3141 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_enable_drps()
3209 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_disable_drps()
3238 static u32 gen6_rps_limits(struct drm_i915_private *dev_priv, u8 val) in gen6_rps_limits()
3255 static void gen6_set_rps_thresholds(struct drm_i915_private *dev_priv, u8 val) in gen6_set_rps_thresholds()
3347 static u32 gen6_rps_pm_mask(struct drm_i915_private *dev_priv, u8 val) in gen6_rps_pm_mask()
3376 struct drm_i915_private *dev_priv = dev->dev_private; in gen6_set_rps()
3419 static void vlv_set_rps_idle(struct drm_i915_private *dev_priv) in vlv_set_rps_idle()
3456 void gen6_rps_idle(struct drm_i915_private *dev_priv) in gen6_rps_idle()
3473 void gen6_rps_boost(struct drm_i915_private *dev_priv) in gen6_rps_boost()
3490 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_set_rps()
3517 struct drm_i915_private *dev_priv = dev->dev_private; in gen8_disable_rps_interrupts()
3537 struct drm_i915_private *dev_priv = dev->dev_private; in gen6_disable_rps_interrupts()
3556 struct drm_i915_private *dev_priv = dev->dev_private; in gen6_disable_rps()
3569 struct drm_i915_private *dev_priv = dev->dev_private; in cherryview_disable_rps()
3578 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_disable_rps()
3649 struct drm_i915_private *dev_priv = dev->dev_private; in gen8_enable_rps_interrupts()
3660 struct drm_i915_private *dev_priv = dev->dev_private; in gen6_enable_rps_interrupts()
3669 static void parse_rp_state_cap(struct drm_i915_private *dev_priv, u32 rp_state_cap) in parse_rp_state_cap()
3692 struct drm_i915_private *dev_priv = dev->dev_private; in gen8_enable_rps()
3775 struct drm_i915_private *dev_priv = dev->dev_private; in gen6_enable_rps()
3887 struct drm_i915_private *dev_priv = dev->dev_private; in __gen6_update_ring_freq()
3957 struct drm_i915_private *dev_priv = dev->dev_private; in gen6_update_ring_freq()
3967 static int cherryview_rps_max_freq(struct drm_i915_private *dev_priv) in cherryview_rps_max_freq()
3977 static int cherryview_rps_rpe_freq(struct drm_i915_private *dev_priv) in cherryview_rps_rpe_freq()
3987 static int cherryview_rps_guar_freq(struct drm_i915_private *dev_priv) in cherryview_rps_guar_freq()
3997 static int cherryview_rps_min_freq(struct drm_i915_private *dev_priv) in cherryview_rps_min_freq()
4006 static int valleyview_rps_guar_freq(struct drm_i915_private *dev_priv) in valleyview_rps_guar_freq()
4017 static int valleyview_rps_max_freq(struct drm_i915_private *dev_priv) in valleyview_rps_max_freq()
4030 static int valleyview_rps_rpe_freq(struct drm_i915_private *dev_priv) in valleyview_rps_rpe_freq()
4042 static int valleyview_rps_min_freq(struct drm_i915_private *dev_priv) in valleyview_rps_min_freq()
4048 static void valleyview_check_pctx(struct drm_i915_private *dev_priv) in valleyview_check_pctx()
4058 static void cherryview_check_pctx(struct drm_i915_private *dev_priv) in cherryview_check_pctx()
4067 struct drm_i915_private *dev_priv = dev->dev_private; in cherryview_setup_pctx()
4087 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_setup_pctx()
4131 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_cleanup_pctx()
4142 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_init_gt_powersave()
4197 struct drm_i915_private *dev_priv = dev->dev_private; in cherryview_init_gt_powersave()
4274 struct drm_i915_private *dev_priv = dev->dev_private; in cherryview_enable_rps()
4366 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_enable_rps()
4446 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_teardown_rc6()
4463 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_disable_rc6()
4481 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_setup_rc6()
4500 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_enable_rc6()
4591 static unsigned long __i915_chipset_val(struct drm_i915_private *dev_priv) in __i915_chipset_val()
4645 unsigned long i915_chipset_val(struct drm_i915_private *dev_priv) in i915_chipset_val()
4662 unsigned long i915_mch_val(struct drm_i915_private *dev_priv) in i915_mch_val()
4677 static u16 pvid_to_extvid(struct drm_i915_private *dev_priv, u8 pxvid) in pvid_to_extvid()
4819 static void __i915_update_gfx_val(struct drm_i915_private *dev_priv) in __i915_update_gfx_val()
4852 void i915_update_gfx_val(struct drm_i915_private *dev_priv) in i915_update_gfx_val()
4866 static unsigned long __i915_gfx_val(struct drm_i915_private *dev_priv) in __i915_gfx_val()
4903 unsigned long i915_gfx_val(struct drm_i915_private *dev_priv) in i915_gfx_val()
4928 struct drm_i915_private *dev_priv; in i915_read_mch_val()
4955 struct drm_i915_private *dev_priv; in i915_gpu_raise()
4983 struct drm_i915_private *dev_priv; in i915_gpu_lower()
5010 struct drm_i915_private *dev_priv; in i915_gpu_busy()
5038 struct drm_i915_private *dev_priv; in i915_gpu_turbo_disable()
5080 void intel_gpu_ips_init(struct drm_i915_private *dev_priv) in intel_gpu_ips_init()
5100 struct drm_i915_private *dev_priv = dev->dev_private; in intel_init_emon()
5197 struct drm_i915_private *dev_priv = dev->dev_private; in intel_suspend_gt_powersave()
5212 struct drm_i915_private *dev_priv = dev->dev_private; in intel_disable_gt_powersave()
5237 struct drm_i915_private *dev_priv = in intel_gen6_powersave_work()
5238 container_of(work, struct drm_i915_private, in intel_gen6_powersave_work()
5263 struct drm_i915_private *dev_priv = dev->dev_private; in intel_enable_gt_powersave()
5292 struct drm_i915_private *dev_priv = dev->dev_private; in intel_reset_gt_powersave()
5300 struct drm_i915_private *dev_priv = dev->dev_private; in ibx_init_clock_gating()
5312 struct drm_i915_private *dev_priv = dev->dev_private; in g4x_disable_trickle_feed()
5325 struct drm_i915_private *dev_priv = dev->dev_private; in ilk_init_lp_watermarks()
5339 struct drm_i915_private *dev_priv = dev->dev_private; in ironlake_init_clock_gating()
5413 struct drm_i915_private *dev_priv = dev->dev_private; in cpt_init_clock_gating()
5450 struct drm_i915_private *dev_priv = dev->dev_private; in gen6_check_mch_setup()
5461 struct drm_i915_private *dev_priv = dev->dev_private; in gen6_init_clock_gating()
5556 static void gen7_setup_fixed_func_scheduler(struct drm_i915_private *dev_priv) in gen7_setup_fixed_func_scheduler()
5576 struct drm_i915_private *dev_priv = dev->dev_private; in lpt_init_clock_gating()
5595 struct drm_i915_private *dev_priv = dev->dev_private; in lpt_suspend_hw()
5607 struct drm_i915_private *dev_priv = dev->dev_private; in broadwell_init_clock_gating()
5656 struct drm_i915_private *dev_priv = dev->dev_private; in haswell_init_clock_gating()
5712 struct drm_i915_private *dev_priv = dev->dev_private; in ivybridge_init_clock_gating()
5810 struct drm_i915_private *dev_priv = dev->dev_private; in valleyview_init_clock_gating()
5885 struct drm_i915_private *dev_priv = dev->dev_private; in cherryview_init_clock_gating()
5924 struct drm_i915_private *dev_priv = dev->dev_private; in g4x_init_clock_gating()
5951 struct drm_i915_private *dev_priv = dev->dev_private; in crestline_init_clock_gating()
5967 struct drm_i915_private *dev_priv = dev->dev_private; in broadwater_init_clock_gating()
5984 struct drm_i915_private *dev_priv = dev->dev_private; in gen3_init_clock_gating()
6009 struct drm_i915_private *dev_priv = dev->dev_private; in i85x_init_clock_gating()
6023 struct drm_i915_private *dev_priv = dev->dev_private; in i830_init_clock_gating()
6034 struct drm_i915_private *dev_priv = dev->dev_private; in intel_init_clock_gating()
6063 static bool hsw_power_well_enabled(struct drm_i915_private *dev_priv, in hsw_power_well_enabled()
6070 bool intel_display_power_enabled_unlocked(struct drm_i915_private *dev_priv, in intel_display_power_enabled_unlocked()
6098 bool intel_display_power_enabled(struct drm_i915_private *dev_priv, in intel_display_power_enabled()
6119 static void hsw_power_well_post_enable(struct drm_i915_private *dev_priv) in hsw_power_well_post_enable()
6141 static void hsw_set_power_well(struct drm_i915_private *dev_priv, in hsw_set_power_well()
6173 static void hsw_power_well_sync_hw(struct drm_i915_private *dev_priv, in hsw_power_well_sync_hw()
6186 static void hsw_power_well_enable(struct drm_i915_private *dev_priv, in hsw_power_well_enable()
6192 static void hsw_power_well_disable(struct drm_i915_private *dev_priv, in hsw_power_well_disable()
6198 static void i9xx_always_on_power_well_noop(struct drm_i915_private *dev_priv, in i9xx_always_on_power_well_noop()
6203 static bool i9xx_always_on_power_well_enabled(struct drm_i915_private *dev_priv, in i9xx_always_on_power_well_enabled()
6209 static void vlv_set_power_well(struct drm_i915_private *dev_priv, in vlv_set_power_well()
6245 static void vlv_power_well_sync_hw(struct drm_i915_private *dev_priv, in vlv_power_well_sync_hw()
6251 static void vlv_power_well_enable(struct drm_i915_private *dev_priv, in vlv_power_well_enable()
6257 static void vlv_power_well_disable(struct drm_i915_private *dev_priv, in vlv_power_well_disable()
6263 static bool vlv_power_well_enabled(struct drm_i915_private *dev_priv, in vlv_power_well_enabled()
6299 static void vlv_display_power_well_enable(struct drm_i915_private *dev_priv, in vlv_display_power_well_enable()
6322 static void vlv_display_power_well_disable(struct drm_i915_private *dev_priv, in vlv_display_power_well_disable()
6336 static void vlv_dpio_cmn_power_well_enable(struct drm_i915_private *dev_priv, in vlv_dpio_cmn_power_well_enable()
6366 static void vlv_dpio_cmn_power_well_disable(struct drm_i915_private *dev_priv, in vlv_dpio_cmn_power_well_disable()
6382 static void chv_dpio_cmn_power_well_enable(struct drm_i915_private *dev_priv, in chv_dpio_cmn_power_well_enable()
6417 static void chv_dpio_cmn_power_well_disable(struct drm_i915_private *dev_priv, in chv_dpio_cmn_power_well_disable()
6440 static bool chv_pipe_power_well_enabled(struct drm_i915_private *dev_priv, in chv_pipe_power_well_enabled()
6469 static void chv_set_pipe_power_well(struct drm_i915_private *dev_priv, in chv_set_pipe_power_well()
6503 static void chv_pipe_power_well_sync_hw(struct drm_i915_private *dev_priv, in chv_pipe_power_well_sync_hw()
6509 static void chv_pipe_power_well_enable(struct drm_i915_private *dev_priv, in chv_pipe_power_well_enable()
6519 static void chv_pipe_power_well_disable(struct drm_i915_private *dev_priv, in chv_pipe_power_well_disable()
6529 void intel_display_power_get(struct drm_i915_private *dev_priv, in intel_display_power_get()
6555 void intel_display_power_put(struct drm_i915_private *dev_priv, in intel_display_power_put()
6589 struct drm_i915_private *dev_priv; in i915_request_power_well()
6594 dev_priv = container_of(hsw_pwr, struct drm_i915_private, in i915_request_power_well()
6604 struct drm_i915_private *dev_priv; in i915_release_power_well()
6609 dev_priv = container_of(hsw_pwr, struct drm_i915_private, in i915_release_power_well()
6624 struct drm_i915_private *dev_priv; in i915_get_cdclk_freq()
6629 dev_priv = container_of(hsw_pwr, struct drm_i915_private, in i915_get_cdclk_freq()
6970 static struct i915_power_well *lookup_power_well(struct drm_i915_private *dev_priv, in lookup_power_well()
6990 int intel_power_domains_init(struct drm_i915_private *dev_priv) in intel_power_domains_init()
7017 void intel_power_domains_remove(struct drm_i915_private *dev_priv) in intel_power_domains_remove()
7022 static void intel_power_domains_resume(struct drm_i915_private *dev_priv) in intel_power_domains_resume()
7037 static void vlv_cmnlane_wa(struct drm_i915_private *dev_priv) in vlv_cmnlane_wa()
7068 void intel_power_domains_init_hw(struct drm_i915_private *dev_priv) in intel_power_domains_init_hw()
7087 void intel_aux_display_runtime_get(struct drm_i915_private *dev_priv) in intel_aux_display_runtime_get()
7092 void intel_aux_display_runtime_put(struct drm_i915_private *dev_priv) in intel_aux_display_runtime_put()
7097 void intel_runtime_pm_get(struct drm_i915_private *dev_priv) in intel_runtime_pm_get()
7109 void intel_runtime_pm_get_noresume(struct drm_i915_private *dev_priv) in intel_runtime_pm_get_noresume()
7121 void intel_runtime_pm_put(struct drm_i915_private *dev_priv) in intel_runtime_pm_put()
7133 void intel_init_runtime_pm(struct drm_i915_private *dev_priv) in intel_init_runtime_pm()
7159 void intel_fini_runtime_pm(struct drm_i915_private *dev_priv) in intel_fini_runtime_pm()
7178 struct drm_i915_private *dev_priv = dev->dev_private; in intel_init_pm()
7291 int sandybridge_pcode_read(struct drm_i915_private *dev_priv, u8 mbox, u32 *val) in sandybridge_pcode_read()
7315 int sandybridge_pcode_write(struct drm_i915_private *dev_priv, u8 mbox, u32 val) in sandybridge_pcode_write()
7338 static int byt_gpu_freq(struct drm_i915_private *dev_priv, int val) in byt_gpu_freq()
7360 static int byt_freq_opcode(struct drm_i915_private *dev_priv, int val) in byt_freq_opcode()
7382 static int chv_gpu_freq(struct drm_i915_private *dev_priv, int val) in chv_gpu_freq()
7407 static int chv_freq_opcode(struct drm_i915_private *dev_priv, int val) in chv_freq_opcode()
7433 int vlv_gpu_freq(struct drm_i915_private *dev_priv, int val) in vlv_gpu_freq()
7445 int vlv_freq_opcode(struct drm_i915_private *dev_priv, int val) in vlv_freq_opcode()
7459 struct drm_i915_private *dev_priv = dev->dev_private; in intel_pm_setup()