Home
last modified time | relevance | path

Searched defs:dev_priv (Results 1 – 25 of 206) sorted by relevance

123456789

/drivers/gpu/drm/i915/
Di915_drv.h462 #define INTEL_INFO(dev_priv) (&(dev_priv)->__info) argument
463 #define RUNTIME_INFO(dev_priv) (&(dev_priv)->__runtime) argument
464 #define DRIVER_CAPS(dev_priv) (&(dev_priv)->caps) argument
466 #define INTEL_DEVID(dev_priv) (RUNTIME_INFO(dev_priv)->device_id) argument
486 #define INTEL_REVID(dev_priv) (to_pci_dev((dev_priv)->drm.dev)->revision) argument
488 #define HAS_DSB(dev_priv) (INTEL_INFO(dev_priv)->display.has_dsb) argument
573 #define IS_MOBILE(dev_priv) (INTEL_INFO(dev_priv)->is_mobile) argument
574 #define IS_DGFX(dev_priv) (INTEL_INFO(dev_priv)->is_dgfx) argument
576 #define IS_I830(dev_priv) IS_PLATFORM(dev_priv, INTEL_I830) argument
577 #define IS_I845G(dev_priv) IS_PLATFORM(dev_priv, INTEL_I845G) argument
[all …]
Di915_irq.c186 static void intel_hpd_init_pins(struct drm_i915_private *dev_priv) in intel_hpd_init_pins()
229 intel_handle_vblank(struct drm_i915_private *dev_priv, enum pipe pipe) in intel_handle_vblank()
324 i915_hotplug_interrupt_update_locked(struct drm_i915_private *dev_priv, in i915_hotplug_interrupt_update_locked()
351 void i915_hotplug_interrupt_update(struct drm_i915_private *dev_priv, in i915_hotplug_interrupt_update()
366 static void ilk_update_display_irq(struct drm_i915_private *dev_priv, in ilk_update_display_irq()
402 static void bdw_update_port_irq(struct drm_i915_private *dev_priv, in bdw_update_port_irq()
435 static void bdw_update_pipe_irq(struct drm_i915_private *dev_priv, in bdw_update_pipe_irq()
477 static void ibx_display_interrupt_update(struct drm_i915_private *dev_priv, in ibx_display_interrupt_update()
506 u32 i915_pipestat_enable_mask(struct drm_i915_private *dev_priv, in i915_pipestat_enable_mask()
550 void i915_enable_pipestat(struct drm_i915_private *dev_priv, in i915_enable_pipestat()
[all …]
Dintel_pm.c51 static void gen9_init_clock_gating(struct drm_i915_private *dev_priv) in gen9_init_clock_gating()
82 static void bxt_init_clock_gating(struct drm_i915_private *dev_priv) in bxt_init_clock_gating()
128 static void glk_init_clock_gating(struct drm_i915_private *dev_priv) in glk_init_clock_gating()
141 static void pnv_get_mem_freq(struct drm_i915_private *dev_priv) in pnv_get_mem_freq()
179 static void ilk_get_mem_freq(struct drm_i915_private *dev_priv) in ilk_get_mem_freq()
298 static void chv_set_memory_dvfs(struct drm_i915_private *dev_priv, bool enable) in chv_set_memory_dvfs()
321 static void chv_set_memory_pm5(struct drm_i915_private *dev_priv, bool enable) in chv_set_memory_pm5()
340 static bool _intel_set_memory_cxsr(struct drm_i915_private *dev_priv, bool enable) in _intel_set_memory_cxsr()
429 bool intel_set_memory_cxsr(struct drm_i915_private *dev_priv, bool enable) in intel_set_memory_cxsr()
466 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in vlv_get_fifo_size() local
[all …]
Dintel_pch.h67 #define INTEL_PCH_TYPE(dev_priv) ((dev_priv)->pch_type) argument
68 #define INTEL_PCH_ID(dev_priv) ((dev_priv)->pch_id) argument
69 #define HAS_PCH_MTP(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_MTP) argument
70 #define HAS_PCH_DG2(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_DG2) argument
71 #define HAS_PCH_ADP(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_ADP) argument
72 #define HAS_PCH_DG1(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_DG1) argument
73 #define HAS_PCH_TGP(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_TGP) argument
74 #define HAS_PCH_ICP(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_ICP) argument
75 #define HAS_PCH_CNP(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_CNP) argument
76 #define HAS_PCH_SPT(dev_priv) (INTEL_PCH_TYPE(dev_priv) == PCH_SPT) argument
[all …]
Dintel_gvt.c51 static bool is_supported_device(struct drm_i915_private *dev_priv) in is_supported_device()
69 static void free_initial_hw_state(struct drm_i915_private *dev_priv) in free_initial_hw_state()
83 struct drm_i915_private *dev_priv = iter->i915; in save_mmio() local
103 static int save_initial_hw_state(struct drm_i915_private *dev_priv) in save_initial_hw_state()
148 static void intel_gvt_init_device(struct drm_i915_private *dev_priv) in intel_gvt_init_device()
182 static void intel_gvt_clean_device(struct drm_i915_private *dev_priv) in intel_gvt_clean_device()
191 struct drm_i915_private *dev_priv; in intel_gvt_set_ops() local
210 struct drm_i915_private *dev_priv; in intel_gvt_clear_ops() local
236 int intel_gvt_init(struct drm_i915_private *dev_priv) in intel_gvt_init()
258 void intel_gvt_driver_remove(struct drm_i915_private *dev_priv) in intel_gvt_driver_remove()
[all …]
Di915_driver.c115 static int i915_get_bridge_dev(struct drm_i915_private *dev_priv) in i915_get_bridge_dev()
132 intel_alloc_mchbar_resource(struct drm_i915_private *dev_priv) in intel_alloc_mchbar_resource()
177 intel_setup_mchbar(struct drm_i915_private *dev_priv) in intel_setup_mchbar()
216 intel_teardown_mchbar(struct drm_i915_private *dev_priv) in intel_teardown_mchbar()
244 static int i915_workqueues_init(struct drm_i915_private *dev_priv) in i915_workqueues_init()
278 static void i915_workqueues_cleanup(struct drm_i915_private *dev_priv) in i915_workqueues_cleanup()
294 static void intel_detect_preproduction_hw(struct drm_i915_private *dev_priv) in intel_detect_preproduction_hw()
333 static int i915_driver_early_probe(struct drm_i915_private *dev_priv) in i915_driver_early_probe()
416 static void i915_driver_late_release(struct drm_i915_private *dev_priv) in i915_driver_late_release()
442 static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv) in i915_driver_mmio_probe()
[all …]
/drivers/gpu/drm/i915/display/
Dintel_display_power_well.c145 bool intel_display_power_well_is_enabled(struct drm_i915_private *dev_priv, in intel_display_power_well_is_enabled()
181 static void hsw_power_well_post_enable(struct drm_i915_private *dev_priv, in hsw_power_well_post_enable()
191 static void hsw_power_well_pre_disable(struct drm_i915_private *dev_priv, in hsw_power_well_pre_disable()
213 aux_ch_to_digital_port(struct drm_i915_private *dev_priv, in aux_ch_to_digital_port()
248 static void hsw_wait_for_power_well_enable(struct drm_i915_private *dev_priv, in hsw_wait_for_power_well_enable()
276 static u32 hsw_power_well_requesters(struct drm_i915_private *dev_priv, in hsw_power_well_requesters()
292 static void hsw_wait_for_power_well_disable(struct drm_i915_private *dev_priv, in hsw_wait_for_power_well_disable()
321 static void gen9_wait_for_power_well_fuses(struct drm_i915_private *dev_priv, in gen9_wait_for_power_well_fuses()
330 static void hsw_power_well_enable(struct drm_i915_private *dev_priv, in hsw_power_well_enable()
377 static void hsw_power_well_disable(struct drm_i915_private *dev_priv, in hsw_power_well_disable()
[all …]
Dintel_cdclk.c79 void intel_cdclk_get_cdclk(struct drm_i915_private *dev_priv, in intel_cdclk_get_cdclk()
85 static void intel_cdclk_set_cdclk(struct drm_i915_private *dev_priv, in intel_cdclk_set_cdclk()
92 static int intel_cdclk_modeset_calc_cdclk(struct drm_i915_private *dev_priv, in intel_cdclk_modeset_calc_cdclk()
98 static u8 intel_cdclk_calc_voltage_level(struct drm_i915_private *dev_priv, in intel_cdclk_calc_voltage_level()
104 static void fixed_133mhz_get_cdclk(struct drm_i915_private *dev_priv, in fixed_133mhz_get_cdclk()
110 static void fixed_200mhz_get_cdclk(struct drm_i915_private *dev_priv, in fixed_200mhz_get_cdclk()
116 static void fixed_266mhz_get_cdclk(struct drm_i915_private *dev_priv, in fixed_266mhz_get_cdclk()
122 static void fixed_333mhz_get_cdclk(struct drm_i915_private *dev_priv, in fixed_333mhz_get_cdclk()
128 static void fixed_400mhz_get_cdclk(struct drm_i915_private *dev_priv, in fixed_400mhz_get_cdclk()
134 static void fixed_450mhz_get_cdclk(struct drm_i915_private *dev_priv, in fixed_450mhz_get_cdclk()
[all …]
Dintel_psr.c121 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in psr_irq_psr_error_bit_get() local
129 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in psr_irq_post_exit_bit_get() local
137 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in psr_irq_pre_entry_bit_get() local
145 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in psr_irq_mask_get() local
153 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in psr_irq_control() local
214 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in intel_psr_irq_handler() local
337 struct drm_i915_private *dev_priv = in intel_psr_init_dpcd() local
395 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in intel_psr_enable_sink() local
424 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in intel_psr1_get_tp_time() local
467 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in psr_compute_idle_frames() local
[all …]
Dintel_fifo_underrun.c57 struct drm_i915_private *dev_priv = to_i915(dev); in ivb_can_enable_err_int() local
75 struct drm_i915_private *dev_priv = to_i915(dev); in cpt_can_enable_serr_int() local
93 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in i9xx_check_fifo_underruns() local
114 struct drm_i915_private *dev_priv = to_i915(dev); in i9xx_set_fifo_underrun_reporting() local
135 struct drm_i915_private *dev_priv = to_i915(dev); in ilk_set_fifo_underrun_reporting() local
147 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in ivb_check_fifo_underruns() local
167 struct drm_i915_private *dev_priv = to_i915(dev); in ivb_set_fifo_underrun_reporting() local
189 icl_pipe_status_underrun_mask(struct drm_i915_private *dev_priv) in icl_pipe_status_underrun_mask()
204 struct drm_i915_private *dev_priv = to_i915(dev); in bdw_set_fifo_underrun_reporting() local
222 struct drm_i915_private *dev_priv = to_i915(dev); in ibx_set_fifo_underrun_reporting() local
[all …]
Dintel_pch_display.c34 static void assert_pch_dp_disabled(struct drm_i915_private *dev_priv, in assert_pch_dp_disabled()
52 static void assert_pch_hdmi_disabled(struct drm_i915_private *dev_priv, in assert_pch_hdmi_disabled()
70 static void assert_pch_ports_disabled(struct drm_i915_private *dev_priv, in assert_pch_ports_disabled()
95 static void assert_pch_transcoder_disabled(struct drm_i915_private *dev_priv, in assert_pch_transcoder_disabled()
108 static void ibx_sanitize_pch_hdmi_port(struct drm_i915_private *dev_priv, in ibx_sanitize_pch_hdmi_port()
127 static void ibx_sanitize_pch_dp_port(struct drm_i915_private *dev_priv, in ibx_sanitize_pch_dp_port()
146 static void ibx_sanitize_pch_ports(struct drm_i915_private *dev_priv) in ibx_sanitize_pch_ports()
172 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_pch_transcoder_set_m1_n1() local
183 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_pch_transcoder_set_m2_n2() local
194 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_pch_transcoder_get_m1_n1() local
[all …]
Dintel_pps.c25 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in intel_pps_lock() local
40 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in intel_pps_unlock() local
51 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in vlv_power_sequencer_kick() local
125 static enum pipe vlv_find_free_pps(struct drm_i915_private *dev_priv) in vlv_find_free_pps()
163 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in vlv_power_sequencer_pipe() local
212 struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); in bxt_power_sequencer_idx() local
238 static bool vlv_pipe_has_pp_on(struct drm_i915_private *dev_priv, in vlv_pipe_has_pp_on()
244 static bool vlv_pipe_has_vdd_on(struct drm_i915_private *dev_priv, in vlv_pipe_has_vdd_on()
250 static bool vlv_pipe_any(struct drm_i915_private *dev_priv, in vlv_pipe_any()
257 vlv_initial_pps_pipe(struct drm_i915_private *dev_priv, in vlv_initial_pps_pipe()
[all …]
Dintel_display_power.c200 bool __intel_display_power_is_enabled(struct drm_i915_private *dev_priv, in __intel_display_power_is_enabled()
241 bool intel_display_power_is_enabled(struct drm_i915_private *dev_priv, in intel_display_power_is_enabled()
257 sanitize_target_dc_state(struct drm_i915_private *dev_priv, in sanitize_target_dc_state()
290 void intel_display_power_set_target_dc_state(struct drm_i915_private *dev_priv, in intel_display_power_set_target_dc_state()
446 intel_display_power_grab_async_put_ref(struct drm_i915_private *dev_priv, in intel_display_power_grab_async_put_ref()
475 __intel_display_power_get_domain(struct drm_i915_private *dev_priv, in __intel_display_power_get_domain()
502 intel_wakeref_t intel_display_power_get(struct drm_i915_private *dev_priv, in intel_display_power_get()
528 intel_display_power_get_if_enabled(struct drm_i915_private *dev_priv, in intel_display_power_get_if_enabled()
559 __intel_display_power_put_domain(struct drm_i915_private *dev_priv, in __intel_display_power_put_domain()
584 static void __intel_display_power_put(struct drm_i915_private *dev_priv, in __intel_display_power_put()
[all …]
Dintel_pipe_crc.c74 static int i9xx_pipe_crc_auto_source(struct drm_i915_private *dev_priv, in i9xx_pipe_crc_auto_source()
128 static int vlv_pipe_crc_ctl_reg(struct drm_i915_private *dev_priv, in vlv_pipe_crc_ctl_reg()
198 static int i9xx_pipe_crc_ctl_reg(struct drm_i915_private *dev_priv, in i9xx_pipe_crc_ctl_reg()
238 static void vlv_undo_pipe_scramble_reset(struct drm_i915_private *dev_priv, in vlv_undo_pipe_scramble_reset()
290 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_crtc_crc_setup_workarounds() local
338 static int ivb_pipe_crc_ctl_reg(struct drm_i915_private *dev_priv, in ivb_pipe_crc_ctl_reg()
366 static int skl_pipe_crc_ctl_reg(struct drm_i915_private *dev_priv, in skl_pipe_crc_ctl_reg()
409 static int get_new_crc_ctl_reg(struct drm_i915_private *dev_priv, in get_new_crc_ctl_reg()
452 static int i8xx_crc_source_valid(struct drm_i915_private *dev_priv, in i8xx_crc_source_valid()
464 static int i9xx_crc_source_valid(struct drm_i915_private *dev_priv, in i9xx_crc_source_valid()
[all …]
Dintel_backlight.c85 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in intel_backlight_invert_pwm_level() local
113 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in intel_backlight_level_to_pwm() local
127 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in intel_backlight_level_from_pwm() local
143 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in lpt_get_backlight() local
150 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in pch_get_backlight() local
157 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in i9xx_get_backlight() local
177 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in vlv_get_backlight() local
187 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in bxt_get_backlight() local
206 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in lpt_set_backlight() local
215 struct drm_i915_private *dev_priv = to_i915(connector->base.dev); in pch_set_backlight() local
[all …]
Dintel_dpio_phy.c219 bxt_get_phy_list(struct drm_i915_private *dev_priv, int *count) in bxt_get_phy_list()
231 bxt_get_phy_info(struct drm_i915_private *dev_priv, enum dpio_phy phy) in bxt_get_phy_info()
240 void bxt_port_to_phy_channel(struct drm_i915_private *dev_priv, enum port port, in bxt_port_to_phy_channel()
274 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in bxt_ddi_phy_set_signal_levels() local
323 bool bxt_ddi_phy_is_enabled(struct drm_i915_private *dev_priv, in bxt_ddi_phy_is_enabled()
351 static u32 bxt_get_grc(struct drm_i915_private *dev_priv, enum dpio_phy phy) in bxt_get_grc()
358 static void bxt_phy_wait_grc_done(struct drm_i915_private *dev_priv, in bxt_phy_wait_grc_done()
367 static void _bxt_ddi_phy_init(struct drm_i915_private *dev_priv, in _bxt_ddi_phy_init()
464 void bxt_ddi_phy_uninit(struct drm_i915_private *dev_priv, enum dpio_phy phy) in bxt_ddi_phy_uninit()
480 void bxt_ddi_phy_init(struct drm_i915_private *dev_priv, enum dpio_phy phy) in bxt_ddi_phy_init()
[all …]
/drivers/gpu/drm/mga/
Dmga_state.c41 static void mga_emit_clip_rect(drm_mga_private_t *dev_priv, in mga_emit_clip_rect()
66 static __inline__ void mga_g200_emit_context(drm_mga_private_t *dev_priv) in mga_g200_emit_context()
89 static __inline__ void mga_g400_emit_context(drm_mga_private_t *dev_priv) in mga_g400_emit_context()
116 static __inline__ void mga_g200_emit_tex0(drm_mga_private_t *dev_priv) in mga_g200_emit_tex0()
144 static __inline__ void mga_g400_emit_tex0(drm_mga_private_t *dev_priv) in mga_g400_emit_tex0()
184 static __inline__ void mga_g400_emit_tex1(drm_mga_private_t *dev_priv) in mga_g400_emit_tex1()
223 static __inline__ void mga_g200_emit_pipe(drm_mga_private_t *dev_priv) in mga_g200_emit_pipe()
250 static __inline__ void mga_g400_emit_pipe(drm_mga_private_t *dev_priv) in mga_g400_emit_pipe()
327 static void mga_g200_emit_state(drm_mga_private_t *dev_priv) in mga_g200_emit_state()
348 static void mga_g400_emit_state(drm_mga_private_t *dev_priv) in mga_g400_emit_state()
[all …]
Dmga_dma.c53 int mga_do_wait_for_idle(drm_mga_private_t *dev_priv) in mga_do_wait_for_idle()
75 static int mga_do_dma_reset(drm_mga_private_t *dev_priv) in mga_do_dma_reset()
103 void mga_do_dma_flush(drm_mga_private_t *dev_priv) in mga_do_dma_flush()
158 void mga_do_dma_wrap_start(drm_mga_private_t *dev_priv) in mga_do_dma_wrap_start()
198 void mga_do_dma_wrap_end(drm_mga_private_t *dev_priv) in mga_do_dma_wrap_end()
225 drm_mga_private_t *dev_priv = dev->dev_private; in mga_freelist_print() local
244 static int mga_freelist_init(struct drm_device *dev, drm_mga_private_t *dev_priv) in mga_freelist_init()
289 drm_mga_private_t *dev_priv = dev->dev_private; in mga_freelist_cleanup() local
324 drm_mga_private_t *dev_priv = dev->dev_private; in mga_freelist_get() local
357 drm_mga_private_t *dev_priv = dev->dev_private; in mga_freelist_put() local
[all …]
/drivers/gpu/drm/r128/
Dr128_state.c46 static void r128_emit_clip_rects(drm_r128_private_t *dev_priv, in r128_emit_clip_rects()
89 static __inline__ void r128_emit_core(drm_r128_private_t *dev_priv) in r128_emit_core()
104 static __inline__ void r128_emit_context(drm_r128_private_t *dev_priv) in r128_emit_context()
130 static __inline__ void r128_emit_setup(drm_r128_private_t *dev_priv) in r128_emit_setup()
146 static __inline__ void r128_emit_masks(drm_r128_private_t *dev_priv) in r128_emit_masks()
165 static __inline__ void r128_emit_window(drm_r128_private_t *dev_priv) in r128_emit_window()
180 static __inline__ void r128_emit_tex0(drm_r128_private_t *dev_priv) in r128_emit_tex0()
206 static __inline__ void r128_emit_tex1(drm_r128_private_t *dev_priv) in r128_emit_tex1()
228 static void r128_emit_state(drm_r128_private_t *dev_priv) in r128_emit_state()
281 static void r128_clear_box(drm_r128_private_t *dev_priv, in r128_clear_box()
[all …]
Dr128_cce.c56 drm_r128_private_t *dev_priv = dev->dev_private; in R128_READ_PLL() local
63 static void r128_status(drm_r128_private_t *dev_priv) in r128_status()
84 static int r128_do_pixcache_flush(drm_r128_private_t *dev_priv) in r128_do_pixcache_flush()
104 static int r128_do_wait_for_fifo(drm_r128_private_t *dev_priv, int entries) in r128_do_wait_for_fifo()
121 static int r128_do_wait_for_idle(drm_r128_private_t *dev_priv) in r128_do_wait_for_idle()
148 static int r128_cce_load_microcode(drm_r128_private_t *dev_priv) in r128_cce_load_microcode()
197 static void r128_do_cce_flush(drm_r128_private_t *dev_priv) in r128_do_cce_flush()
207 int r128_do_cce_idle(drm_r128_private_t *dev_priv) in r128_do_cce_idle()
233 static void r128_do_cce_start(drm_r128_private_t *dev_priv) in r128_do_cce_start()
250 static void r128_do_cce_reset(drm_r128_private_t *dev_priv) in r128_do_cce_reset()
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c213 static int vmw_cmd_ctx_first_setup(struct vmw_private *dev_priv, in vmw_cmd_ctx_first_setup()
267 static unsigned int vmw_execbuf_res_size(struct vmw_private *dev_priv, in vmw_execbuf_res_size()
314 struct vmw_private *dev_priv = res->dev_priv; in vmw_execbuf_res_val_add() local
433 static int vmw_resource_context_res_add(struct vmw_private *dev_priv, in vmw_resource_context_res_add()
566 static int vmw_cmd_invalid(struct vmw_private *dev_priv, in vmw_cmd_invalid()
573 static int vmw_cmd_ok(struct vmw_private *dev_priv, in vmw_cmd_ok()
627 vmw_cmd_res_check(struct vmw_private *dev_priv, in vmw_cmd_res_check()
705 struct vmw_private *dev_priv = ctx_res->dev_priv; in vmw_rebind_all_dx_query() local
819 static int vmw_cmd_cid_check(struct vmw_private *dev_priv, in vmw_cmd_cid_check()
859 static int vmw_cmd_set_render_target_check(struct vmw_private *dev_priv, in vmw_cmd_set_render_target_check()
[all …]
Dvmwgfx_irq.c57 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_thread_fn() local
90 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_irq_handler() local
120 static bool vmw_fifo_idle(struct vmw_private *dev_priv, uint32_t seqno) in vmw_fifo_idle()
126 void vmw_update_seqno(struct vmw_private *dev_priv) in vmw_update_seqno()
136 bool vmw_seqno_passed(struct vmw_private *dev_priv, in vmw_seqno_passed()
162 int vmw_fallback_wait(struct vmw_private *dev_priv, in vmw_fallback_wait()
242 void vmw_generic_waiter_add(struct vmw_private *dev_priv, in vmw_generic_waiter_add()
254 void vmw_generic_waiter_remove(struct vmw_private *dev_priv, in vmw_generic_waiter_remove()
265 void vmw_seqno_waiter_add(struct vmw_private *dev_priv) in vmw_seqno_waiter_add()
271 void vmw_seqno_waiter_remove(struct vmw_private *dev_priv) in vmw_seqno_waiter_remove()
[all …]
Dvmwgfx_cmd.c35 bool vmw_supports_3d(struct vmw_private *dev_priv) in vmw_supports_3d()
82 bool vmw_fifo_have_pitchlock(struct vmw_private *dev_priv) in vmw_fifo_have_pitchlock()
96 struct vmw_fifo_state *vmw_fifo_create(struct vmw_private *dev_priv) in vmw_fifo_create()
158 void vmw_fifo_ping_host(struct vmw_private *dev_priv, uint32_t reason) in vmw_fifo_ping_host()
166 void vmw_fifo_destroy(struct vmw_private *dev_priv) in vmw_fifo_destroy()
186 static bool vmw_fifo_is_full(struct vmw_private *dev_priv, uint32_t bytes) in vmw_fifo_is_full()
196 static int vmw_fifo_wait_noirq(struct vmw_private *dev_priv, in vmw_fifo_wait_noirq()
229 static int vmw_fifo_wait(struct vmw_private *dev_priv, in vmw_fifo_wait()
276 static void *vmw_local_fifo_reserve(struct vmw_private *dev_priv, in vmw_local_fifo_reserve()
364 void *vmw_cmd_ctx_reserve(struct vmw_private *dev_priv, uint32_t bytes, in vmw_cmd_ctx_reserve()
[all …]
/drivers/gpu/drm/savage/
Dsavage_bci.c47 savage_bci_wait_fifo_shadow(drm_savage_private_t * dev_priv, unsigned int n) in savage_bci_wait_fifo_shadow()
76 savage_bci_wait_fifo_s3d(drm_savage_private_t * dev_priv, unsigned int n) in savage_bci_wait_fifo_s3d()
97 savage_bci_wait_fifo_s4(drm_savage_private_t * dev_priv, unsigned int n) in savage_bci_wait_fifo_s4()
129 savage_bci_wait_event_shadow(drm_savage_private_t * dev_priv, uint16_t e) in savage_bci_wait_event_shadow()
152 savage_bci_wait_event_reg(drm_savage_private_t * dev_priv, uint16_t e) in savage_bci_wait_event_reg()
173 uint16_t savage_bci_emit_event(drm_savage_private_t * dev_priv, in savage_bci_emit_event()
217 drm_savage_private_t *dev_priv = dev->dev_private; in savage_freelist_init() local
250 drm_savage_private_t *dev_priv = dev->dev_private; in savage_freelist_get() local
283 drm_savage_private_t *dev_priv = dev->dev_private; in savage_freelist_put() local
304 static int savage_dma_init(drm_savage_private_t * dev_priv) in savage_dma_init()
[all …]
/drivers/gpu/drm/i810/
Di810_dma.c96 drm_i810_private_t *dev_priv; in i810_mmap_buffers() local
129 drm_i810_private_t *dev_priv = dev->dev_private; in i810_map_buffer() local
215 drm_i810_private_t *dev_priv = in i810_dma_cleanup() local
241 drm_i810_private_t *dev_priv = dev->dev_private; in i810_wait_ring() local
274 drm_i810_private_t *dev_priv = dev->dev_private; in i810_kernel_lost_context() local
284 static int i810_freelist_init(struct drm_device *dev, drm_i810_private_t *dev_priv) in i810_freelist_init()
320 drm_i810_private_t *dev_priv, in i810_dma_initialize()
428 drm_i810_private_t *dev_priv; in i810_dma_init() local
461 drm_i810_private_t *dev_priv = dev->dev_private; in i810EmitContextVerified() local
493 drm_i810_private_t *dev_priv = dev->dev_private; in i810EmitTexVerified() local
[all …]

123456789