Home
last modified time | relevance | path

Searched refs:drm_i915_private (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/drivers/gpu/drm/i915/
Dintel_sideband.h9 struct drm_i915_private;
28 void vlv_iosf_sb_get(struct drm_i915_private *i915, unsigned long ports);
29 u32 vlv_iosf_sb_read(struct drm_i915_private *i915, u8 port, u32 reg);
30 void vlv_iosf_sb_write(struct drm_i915_private *i915,
32 void vlv_iosf_sb_put(struct drm_i915_private *i915, unsigned long ports);
34 static inline void vlv_bunit_get(struct drm_i915_private *i915) in vlv_bunit_get()
39 u32 vlv_bunit_read(struct drm_i915_private *i915, u32 reg);
40 void vlv_bunit_write(struct drm_i915_private *i915, u32 reg, u32 val);
42 static inline void vlv_bunit_put(struct drm_i915_private *i915) in vlv_bunit_put()
47 static inline void vlv_cck_get(struct drm_i915_private *i915) in vlv_cck_get()
[all …]
Dintel_pm.h17 struct drm_i915_private;
27 void intel_init_clock_gating(struct drm_i915_private *dev_priv);
28 void intel_suspend_hw(struct drm_i915_private *dev_priv);
29 int ilk_wm_max_level(const struct drm_i915_private *dev_priv);
31 void intel_init_pm(struct drm_i915_private *dev_priv);
32 void intel_init_clock_gating_hooks(struct drm_i915_private *dev_priv);
33 void intel_pm_setup(struct drm_i915_private *dev_priv);
34 void g4x_wm_get_hw_state(struct drm_i915_private *dev_priv);
35 void vlv_wm_get_hw_state(struct drm_i915_private *dev_priv);
36 void ilk_wm_get_hw_state(struct drm_i915_private *dev_priv);
[all …]
Di915_irq.h18 struct drm_i915_private;
22 void intel_irq_init(struct drm_i915_private *dev_priv);
23 void intel_irq_fini(struct drm_i915_private *dev_priv);
24 int intel_irq_install(struct drm_i915_private *dev_priv);
25 void intel_irq_uninstall(struct drm_i915_private *dev_priv);
27 u32 i915_pipestat_enable_mask(struct drm_i915_private *dev_priv,
30 i915_enable_pipestat(struct drm_i915_private *dev_priv, enum pipe pipe,
34 i915_disable_pipestat(struct drm_i915_private *dev_priv, enum pipe pipe,
37 void valleyview_enable_display_irqs(struct drm_i915_private *dev_priv);
38 void valleyview_disable_display_irqs(struct drm_i915_private *dev_priv);
[all …]
Dintel_gvt.h27 struct drm_i915_private;
30 int intel_gvt_init(struct drm_i915_private *dev_priv);
31 void intel_gvt_driver_remove(struct drm_i915_private *dev_priv);
32 int intel_gvt_init_device(struct drm_i915_private *dev_priv);
33 void intel_gvt_clean_device(struct drm_i915_private *dev_priv);
35 void intel_gvt_sanitize_options(struct drm_i915_private *dev_priv);
36 void intel_gvt_resume(struct drm_i915_private *dev_priv);
38 static inline int intel_gvt_init(struct drm_i915_private *dev_priv) in intel_gvt_init()
43 static inline void intel_gvt_driver_remove(struct drm_i915_private *dev_priv) in intel_gvt_driver_remove()
47 static inline void intel_gvt_sanitize_options(struct drm_i915_private *dev_priv) in intel_gvt_sanitize_options()
[all …]
Dintel_sideband.c48 static void __vlv_punit_get(struct drm_i915_private *i915) in __vlv_punit_get()
68 static void __vlv_punit_put(struct drm_i915_private *i915) in __vlv_punit_put()
77 void vlv_iosf_sb_get(struct drm_i915_private *i915, unsigned long ports) in vlv_iosf_sb_get()
85 void vlv_iosf_sb_put(struct drm_i915_private *i915, unsigned long ports) in vlv_iosf_sb_put()
93 static int vlv_sideband_rw(struct drm_i915_private *i915, in vlv_sideband_rw()
143 u32 vlv_punit_read(struct drm_i915_private *i915, u32 addr) in vlv_punit_read()
153 int vlv_punit_write(struct drm_i915_private *i915, u32 addr, u32 val) in vlv_punit_write()
159 u32 vlv_bunit_read(struct drm_i915_private *i915, u32 reg) in vlv_bunit_read()
169 void vlv_bunit_write(struct drm_i915_private *i915, u32 reg, u32 val) in vlv_bunit_write()
175 u32 vlv_nc_read(struct drm_i915_private *i915, u8 addr) in vlv_nc_read()
[all …]
Di915_pmu.h15 struct drm_i915_private;
125 void i915_pmu_register(struct drm_i915_private *i915);
126 void i915_pmu_unregister(struct drm_i915_private *i915);
127 void i915_pmu_gt_parked(struct drm_i915_private *i915);
128 void i915_pmu_gt_unparked(struct drm_i915_private *i915);
130 static inline void i915_pmu_register(struct drm_i915_private *i915) {} in i915_pmu_register()
131 static inline void i915_pmu_unregister(struct drm_i915_private *i915) {} in i915_pmu_unregister()
132 static inline void i915_pmu_gt_parked(struct drm_i915_private *i915) {} in i915_pmu_gt_parked()
133 static inline void i915_pmu_gt_unparked(struct drm_i915_private *i915) {} in i915_pmu_gt_unparked()
Di915_irq.c155 static void intel_hpd_init_pins(struct drm_i915_private *dev_priv) in intel_hpd_init_pins()
196 intel_handle_vblank(struct drm_i915_private *dev_priv, enum pipe pipe) in intel_handle_vblank()
291 i915_hotplug_interrupt_update_locked(struct drm_i915_private *dev_priv, in i915_hotplug_interrupt_update_locked()
318 void i915_hotplug_interrupt_update(struct drm_i915_private *dev_priv, in i915_hotplug_interrupt_update()
333 void ilk_update_display_irq(struct drm_i915_private *dev_priv, in ilk_update_display_irq()
363 static void bdw_update_port_irq(struct drm_i915_private *dev_priv, in bdw_update_port_irq()
396 void bdw_update_pipe_irq(struct drm_i915_private *dev_priv, in bdw_update_pipe_irq()
427 void ibx_display_interrupt_update(struct drm_i915_private *dev_priv, in ibx_display_interrupt_update()
446 u32 i915_pipestat_enable_mask(struct drm_i915_private *dev_priv, in i915_pipestat_enable_mask()
490 void i915_enable_pipestat(struct drm_i915_private *dev_priv, in i915_enable_pipestat()
[all …]
Di915_vgpu.h29 struct drm_i915_private;
32 void intel_vgpu_detect(struct drm_i915_private *i915);
33 bool intel_vgpu_active(struct drm_i915_private *i915);
34 void intel_vgpu_register(struct drm_i915_private *i915);
35 bool intel_vgpu_has_full_ppgtt(struct drm_i915_private *i915);
36 bool intel_vgpu_has_hwsp_emulation(struct drm_i915_private *i915);
37 bool intel_vgpu_has_huge_gtt(struct drm_i915_private *i915);
Di915_gpu_error.h28 struct drm_i915_private;
166 struct drm_i915_private *i915;
205 struct drm_i915_private *i915;
221 struct i915_gpu_coredump *i915_gpu_coredump(struct drm_i915_private *i915);
222 void i915_capture_error_state(struct drm_i915_private *i915);
225 i915_gpu_coredump_alloc(struct drm_i915_private *i915, gfp_t gfp);
268 struct i915_gpu_coredump *i915_first_error_state(struct drm_i915_private *i915);
269 void i915_reset_error_state(struct drm_i915_private *i915);
270 void i915_disable_error_state(struct drm_i915_private *i915, int err);
274 static inline void i915_capture_error_state(struct drm_i915_private *i915) in i915_capture_error_state()
[all …]
Di915_drv.c92 static int i915_get_bridge_dev(struct drm_i915_private *dev_priv) in i915_get_bridge_dev()
107 intel_alloc_mchbar_resource(struct drm_i915_private *dev_priv) in intel_alloc_mchbar_resource()
152 intel_setup_mchbar(struct drm_i915_private *dev_priv) in intel_setup_mchbar()
191 intel_teardown_mchbar(struct drm_i915_private *dev_priv) in intel_teardown_mchbar()
219 static int i915_workqueues_init(struct drm_i915_private *dev_priv) in i915_workqueues_init()
253 static void i915_workqueues_cleanup(struct drm_i915_private *dev_priv) in i915_workqueues_cleanup()
269 static void intel_detect_preproduction_hw(struct drm_i915_private *dev_priv) in intel_detect_preproduction_hw()
286 static void sanitize_gpu(struct drm_i915_private *i915) in sanitize_gpu()
302 static int i915_driver_early_probe(struct drm_i915_private *dev_priv) in i915_driver_early_probe()
373 static void i915_driver_late_release(struct drm_i915_private *dev_priv) in i915_driver_late_release()
[all …]
/drivers/gpu/drm/i915/display/
Dintel_display_power.h13 struct drm_i915_private;
124 void (*sync_hw)(struct drm_i915_private *dev_priv,
131 void (*enable)(struct drm_i915_private *dev_priv,
137 void (*disable)(struct drm_i915_private *dev_priv,
140 bool (*is_enabled)(struct drm_i915_private *dev_priv,
248 int intel_power_domains_init(struct drm_i915_private *dev_priv);
249 void intel_power_domains_cleanup(struct drm_i915_private *dev_priv);
250 void intel_power_domains_init_hw(struct drm_i915_private *dev_priv, bool resume);
251 void intel_power_domains_driver_remove(struct drm_i915_private *dev_priv);
252 void intel_power_domains_enable(struct drm_i915_private *dev_priv);
[all …]
Dintel_opregion.h31 struct drm_i915_private;
59 int intel_opregion_setup(struct drm_i915_private *dev_priv);
61 void intel_opregion_register(struct drm_i915_private *dev_priv);
62 void intel_opregion_unregister(struct drm_i915_private *dev_priv);
64 void intel_opregion_resume(struct drm_i915_private *dev_priv);
65 void intel_opregion_suspend(struct drm_i915_private *dev_priv,
68 void intel_opregion_asle_intr(struct drm_i915_private *dev_priv);
71 int intel_opregion_notify_adapter(struct drm_i915_private *dev_priv,
73 int intel_opregion_get_panel_type(struct drm_i915_private *dev_priv);
77 static inline int intel_opregion_setup(struct drm_i915_private *dev_priv) in intel_opregion_setup()
[all …]
Dintel_fbc.h13 struct drm_i915_private;
19 void intel_fbc_choose_crtc(struct drm_i915_private *dev_priv,
21 bool intel_fbc_is_active(struct drm_i915_private *dev_priv);
26 void intel_fbc_init(struct drm_i915_private *dev_priv);
30 void intel_fbc_global_disable(struct drm_i915_private *dev_priv);
31 void intel_fbc_invalidate(struct drm_i915_private *dev_priv,
34 void intel_fbc_flush(struct drm_i915_private *dev_priv,
36 void intel_fbc_cleanup_cfb(struct drm_i915_private *dev_priv);
37 void intel_fbc_handle_fifo_underrun_irq(struct drm_i915_private *dev_priv);
38 int intel_fbc_reset_underrun(struct drm_i915_private *dev_priv);
Dintel_bios.h35 struct drm_i915_private;
231 void intel_bios_init(struct drm_i915_private *dev_priv);
232 void intel_bios_driver_remove(struct drm_i915_private *dev_priv);
234 bool intel_bios_is_tv_present(struct drm_i915_private *dev_priv);
235 bool intel_bios_is_lvds_present(struct drm_i915_private *dev_priv, u8 *i2c_pin);
236 bool intel_bios_is_port_present(struct drm_i915_private *dev_priv, enum port port);
237 bool intel_bios_is_port_edp(struct drm_i915_private *dev_priv, enum port port);
238 bool intel_bios_is_port_dp_dual_mode(struct drm_i915_private *dev_priv, enum port port);
239 bool intel_bios_is_dsi_present(struct drm_i915_private *dev_priv, enum port *port);
240 bool intel_bios_is_port_hpd_inverted(const struct drm_i915_private *i915,
[all …]
Dintel_display.h41 struct drm_i915_private;
493 void lpt_disable_clkout_dp(struct drm_i915_private *dev_priv);
494 u32 intel_plane_fb_max_stride(struct drm_i915_private *dev_priv,
498 intel_mode_valid_max_plane_size(struct drm_i915_private *dev_priv,
500 enum phy intel_port_to_phy(struct drm_i915_private *i915, enum port port);
506 void i830_enable_pipe(struct drm_i915_private *dev_priv, enum pipe pipe);
507 void i830_disable_pipe(struct drm_i915_private *dev_priv, enum pipe pipe);
509 int vlv_get_hpll_vco(struct drm_i915_private *dev_priv);
510 int vlv_get_cck_clock(struct drm_i915_private *dev_priv,
512 int vlv_get_cck_clock_hpll(struct drm_i915_private *dev_priv,
[all …]
Dintel_hotplug.h11 struct drm_i915_private;
17 void intel_hpd_poll_init(struct drm_i915_private *dev_priv);
20 void intel_hpd_irq_handler(struct drm_i915_private *dev_priv,
23 void intel_hpd_init(struct drm_i915_private *dev_priv);
24 void intel_hpd_init_work(struct drm_i915_private *dev_priv);
25 void intel_hpd_cancel_work(struct drm_i915_private *dev_priv);
26 enum hpd_pin intel_hpd_pin_default(struct drm_i915_private *dev_priv,
28 bool intel_hpd_disable(struct drm_i915_private *dev_priv, enum hpd_pin pin);
29 void intel_hpd_enable(struct drm_i915_private *dev_priv, enum hpd_pin pin);
Dintel_dpll_mgr.h41 struct drm_i915_private;
249 void (*prepare)(struct drm_i915_private *dev_priv,
258 void (*enable)(struct drm_i915_private *dev_priv,
268 void (*disable)(struct drm_i915_private *dev_priv,
278 bool (*get_hw_state)(struct drm_i915_private *dev_priv,
288 int (*get_freq)(struct drm_i915_private *i915,
364 intel_get_shared_dpll_by_id(struct drm_i915_private *dev_priv,
367 intel_get_shared_dpll_id(struct drm_i915_private *dev_priv,
369 void assert_shared_dpll(struct drm_i915_private *dev_priv,
384 int intel_dpll_get_freq(struct drm_i915_private *i915,
[all …]
Dintel_fbc.c64 static int intel_fbc_calculate_cfb_size(struct drm_i915_private *dev_priv, in intel_fbc_calculate_cfb_size()
79 static void i8xx_fbc_deactivate(struct drm_i915_private *dev_priv) in i8xx_fbc_deactivate()
99 static void i8xx_fbc_activate(struct drm_i915_private *dev_priv) in i8xx_fbc_activate()
145 static bool i8xx_fbc_is_active(struct drm_i915_private *dev_priv) in i8xx_fbc_is_active()
150 static void g4x_fbc_activate(struct drm_i915_private *dev_priv) in g4x_fbc_activate()
173 static void g4x_fbc_deactivate(struct drm_i915_private *dev_priv) in g4x_fbc_deactivate()
185 static bool g4x_fbc_is_active(struct drm_i915_private *dev_priv) in g4x_fbc_is_active()
190 static void i8xx_fbc_recompress(struct drm_i915_private *dev_priv) in i8xx_fbc_recompress()
201 static void i965_fbc_recompress(struct drm_i915_private *dev_priv) in i965_fbc_recompress()
213 static void snb_fbc_recompress(struct drm_i915_private *dev_priv) in snb_fbc_recompress()
[all …]
Dintel_vga.h9 struct drm_i915_private;
11 void intel_vga_reset_io_mem(struct drm_i915_private *i915);
12 void intel_vga_disable(struct drm_i915_private *i915);
13 void intel_vga_redisable(struct drm_i915_private *i915);
14 void intel_vga_redisable_power_on(struct drm_i915_private *i915);
15 int intel_vga_register(struct drm_i915_private *i915);
16 void intel_vga_unregister(struct drm_i915_private *i915);
Dintel_de.h14 intel_de_read(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_read()
20 intel_de_posting_read(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_posting_read()
27 intel_de_read_fw(struct drm_i915_private *i915, i915_reg_t reg) in intel_de_read_fw()
33 intel_de_write(struct drm_i915_private *i915, i915_reg_t reg, u32 val) in intel_de_write()
40 intel_de_write_fw(struct drm_i915_private *i915, i915_reg_t reg, u32 val) in intel_de_write_fw()
46 intel_de_rmw(struct drm_i915_private *i915, i915_reg_t reg, u32 clear, u32 set) in intel_de_rmw()
52 intel_de_wait_for_register(struct drm_i915_private *i915, i915_reg_t reg, in intel_de_wait_for_register()
59 intel_de_wait_for_set(struct drm_i915_private *i915, i915_reg_t reg, in intel_de_wait_for_set()
66 intel_de_wait_for_clear(struct drm_i915_private *i915, i915_reg_t reg, in intel_de_wait_for_clear()
Dintel_fifo_underrun.h13 struct drm_i915_private;
15 bool intel_set_cpu_fifo_underrun_reporting(struct drm_i915_private *dev_priv,
17 bool intel_set_pch_fifo_underrun_reporting(struct drm_i915_private *dev_priv,
20 void intel_cpu_fifo_underrun_irq_handler(struct drm_i915_private *dev_priv,
22 void intel_pch_fifo_underrun_irq_handler(struct drm_i915_private *dev_priv,
24 void intel_check_cpu_fifo_underruns(struct drm_i915_private *dev_priv);
25 void intel_check_pch_fifo_underruns(struct drm_i915_private *dev_priv);
Dintel_fifo_underrun.c56 struct drm_i915_private *dev_priv = to_i915(dev); in ivb_can_enable_err_int()
74 struct drm_i915_private *dev_priv = to_i915(dev); in cpt_can_enable_serr_int()
92 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in i9xx_check_fifo_underruns()
113 struct drm_i915_private *dev_priv = to_i915(dev); in i9xx_set_fifo_underrun_reporting()
134 struct drm_i915_private *dev_priv = to_i915(dev); in ilk_set_fifo_underrun_reporting()
146 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in ivb_check_fifo_underruns()
166 struct drm_i915_private *dev_priv = to_i915(dev); in ivb_set_fifo_underrun_reporting()
190 struct drm_i915_private *dev_priv = to_i915(dev); in bdw_set_fifo_underrun_reporting()
202 struct drm_i915_private *dev_priv = to_i915(dev); in ibx_set_fifo_underrun_reporting()
214 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in cpt_check_pch_fifo_underruns()
[all …]
Dintel_display_power.c23 bool intel_display_power_well_is_enabled(struct drm_i915_private *dev_priv,
162 static void intel_power_well_enable(struct drm_i915_private *dev_priv, in intel_power_well_enable()
170 static void intel_power_well_disable(struct drm_i915_private *dev_priv, in intel_power_well_disable()
178 static void intel_power_well_get(struct drm_i915_private *dev_priv, in intel_power_well_get()
185 static void intel_power_well_put(struct drm_i915_private *dev_priv, in intel_power_well_put()
208 bool __intel_display_power_is_enabled(struct drm_i915_private *dev_priv, in __intel_display_power_is_enabled()
249 bool intel_display_power_is_enabled(struct drm_i915_private *dev_priv, in intel_display_power_is_enabled()
270 static void hsw_power_well_post_enable(struct drm_i915_private *dev_priv, in hsw_power_well_post_enable()
280 static void hsw_power_well_pre_disable(struct drm_i915_private *dev_priv, in hsw_power_well_pre_disable()
293 static enum aux_ch icl_tc_phy_aux_ch(struct drm_i915_private *dev_priv, in icl_tc_phy_aux_ch()
[all …]
Dintel_cdclk.h15 struct drm_i915_private;
58 void intel_cdclk_init_hw(struct drm_i915_private *i915);
59 void intel_cdclk_uninit_hw(struct drm_i915_private *i915);
60 void intel_init_cdclk_hooks(struct drm_i915_private *dev_priv);
61 void intel_update_max_cdclk(struct drm_i915_private *dev_priv);
62 void intel_update_cdclk(struct drm_i915_private *dev_priv);
63 u32 intel_read_rawclk(struct drm_i915_private *dev_priv);
81 int intel_cdclk_init(struct drm_i915_private *dev_priv);
/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.h11 struct drm_i915_private;
15 int i915_gem_stolen_insert_node(struct drm_i915_private *dev_priv,
18 int i915_gem_stolen_insert_node_in_range(struct drm_i915_private *dev_priv,
22 void i915_gem_stolen_remove_node(struct drm_i915_private *dev_priv,
24 struct intel_memory_region *i915_gem_stolen_setup(struct drm_i915_private *i915);
26 i915_gem_object_create_stolen(struct drm_i915_private *dev_priv,
29 i915_gem_object_create_stolen_for_preallocated(struct drm_i915_private *dev_priv,

12345678910>>...12