/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_irq.h | 14 struct drm_i915_private; 17 void valleyview_enable_display_irqs(struct drm_i915_private *i915); 18 void valleyview_disable_display_irqs(struct drm_i915_private *i915); 20 void ilk_update_display_irq(struct drm_i915_private *i915, 22 void ilk_enable_display_irq(struct drm_i915_private *i915, u32 bits); 23 void ilk_disable_display_irq(struct drm_i915_private *i915, u32 bits); 25 void bdw_update_port_irq(struct drm_i915_private *i915, u32 interrupt_mask, u32 enabled_irq_mask); 26 void bdw_enable_pipe_irq(struct drm_i915_private *i915, enum pipe pipe, u32 bits); 27 void bdw_disable_pipe_irq(struct drm_i915_private *i915, enum pipe pipe, u32 bits); 29 void ibx_display_interrupt_update(struct drm_i915_private *i915, [all …]
|
H A D | intel_display_driver.h | 12 struct drm_i915_private; 17 void intel_display_driver_init_hw(struct drm_i915_private *i915); 18 void intel_display_driver_early_probe(struct drm_i915_private *i915); 19 int intel_display_driver_probe_noirq(struct drm_i915_private *i915); 20 int intel_display_driver_probe_nogem(struct drm_i915_private *i915); 21 int intel_display_driver_probe(struct drm_i915_private *i915); 22 void intel_display_driver_register(struct drm_i915_private *i915); 23 void intel_display_driver_remove(struct drm_i915_private *i915); 24 void intel_display_driver_remove_noirq(struct drm_i915_private *i915); 25 void intel_display_driver_remove_nogem(struct drm_i915_private *i915); [all …]
|
H A D | intel_display_power.h | 16 struct drm_i915_private; 169 int intel_power_domains_init(struct drm_i915_private *dev_priv); 170 void intel_power_domains_cleanup(struct drm_i915_private *dev_priv); 171 void intel_power_domains_init_hw(struct drm_i915_private *dev_priv, bool resume); 172 void intel_power_domains_driver_remove(struct drm_i915_private *dev_priv); 173 void intel_power_domains_enable(struct drm_i915_private *dev_priv); 174 void intel_power_domains_disable(struct drm_i915_private *dev_priv); 175 void intel_power_domains_suspend(struct drm_i915_private *dev_priv, bool s2idle); 176 void intel_power_domains_resume(struct drm_i915_private *dev_priv); 177 void intel_power_domains_sanitize_state(struct drm_i915_private *dev_priv); [all …]
|
H A D | intel_hotplug.h | 11 struct drm_i915_private; 17 void intel_hpd_poll_enable(struct drm_i915_private *dev_priv); 18 void intel_hpd_poll_disable(struct drm_i915_private *dev_priv); 21 void intel_hpd_irq_handler(struct drm_i915_private *dev_priv, 24 void intel_hpd_init(struct drm_i915_private *dev_priv); 25 void intel_hpd_init_early(struct drm_i915_private *i915); 26 void intel_hpd_cancel_work(struct drm_i915_private *dev_priv); 27 enum hpd_pin intel_hpd_pin_default(struct drm_i915_private *dev_priv, 29 bool intel_hpd_disable(struct drm_i915_private *dev_priv, enum hpd_pin pin); 30 void intel_hpd_enable(struct drm_i915_private *dev_priv, enum hpd_pin pin); [all …]
|
H A D | intel_dmc.h | 12 struct drm_i915_private; 15 void intel_dmc_init(struct drm_i915_private *i915); 16 void intel_dmc_load_program(struct drm_i915_private *i915); 17 void intel_dmc_disable_program(struct drm_i915_private *i915); 18 void intel_dmc_enable_pipe(struct drm_i915_private *i915, enum pipe pipe); 19 void intel_dmc_disable_pipe(struct drm_i915_private *i915, enum pipe pipe); 20 void intel_dmc_fini(struct drm_i915_private *i915); 21 void intel_dmc_suspend(struct drm_i915_private *i915); 22 void intel_dmc_resume(struct drm_i915_private *i915); 23 bool intel_dmc_has_payload(struct drm_i915_private *i915); [all …]
|
H A D | intel_hotplug_irq.h | 11 struct drm_i915_private; 14 u32 i9xx_hpd_irq_ack(struct drm_i915_private *i915); 16 void i9xx_hpd_irq_handler(struct drm_i915_private *i915, u32 hotplug_status); 17 void ibx_hpd_irq_handler(struct drm_i915_private *i915, u32 hotplug_trigger); 18 void ilk_hpd_irq_handler(struct drm_i915_private *i915, u32 hotplug_trigger); 19 void gen11_hpd_irq_handler(struct drm_i915_private *i915, u32 iir); 20 void bxt_hpd_irq_handler(struct drm_i915_private *i915, u32 hotplug_trigger); 21 void xelpdp_pica_irq_handler(struct drm_i915_private *i915, u32 iir); 22 void icp_irq_handler(struct drm_i915_private *i915, u32 pch_iir); 23 void spt_irq_handler(struct drm_i915_private *i915, u32 pch_iir); [all …]
|
H A D | intel_display_power_well.h | 13 struct drm_i915_private; 129 struct i915_power_well *lookup_power_well(struct drm_i915_private *i915, 132 void intel_power_well_enable(struct drm_i915_private *i915, 134 void intel_power_well_disable(struct drm_i915_private *i915, 136 void intel_power_well_sync_hw(struct drm_i915_private *i915, 138 void intel_power_well_get(struct drm_i915_private *i915, 140 void intel_power_well_put(struct drm_i915_private *i915, 142 bool intel_power_well_is_enabled(struct drm_i915_private *i915, 145 bool intel_display_power_well_is_enabled(struct drm_i915_private *dev_priv, 154 bool chv_phy_powergate_ch(struct drm_i915_private *dev_priv, enum dpio_phy phy, [all …]
|
H A D | i9xx_wm.h | 11 struct drm_i915_private; 16 bool ilk_disable_lp_wm(struct drm_i915_private *i915); 17 void ilk_wm_sanitize(struct drm_i915_private *i915); 18 bool intel_set_memory_cxsr(struct drm_i915_private *i915, bool enable); 19 void i9xx_wm_init(struct drm_i915_private *i915); 21 static inline bool ilk_disable_lp_wm(struct drm_i915_private *i915) in ilk_disable_lp_wm() 25 static inline void ilk_wm_sanitize(struct drm_i915_private *i915) in ilk_wm_sanitize() 28 static inline bool intel_set_memory_cxsr(struct drm_i915_private *i915, bool enable) in intel_set_memory_cxsr() 32 static inline void i9xx_wm_init(struct drm_i915_private *i915) in i9xx_wm_init()
|
H A D | skl_watermark.h | 15 struct drm_i915_private; 24 u8 intel_enabled_dbuf_slices_mask(struct drm_i915_private *i915); 28 bool intel_can_enable_sagv(struct drm_i915_private *i915, 30 bool intel_has_sagv(struct drm_i915_private *i915); 32 u32 skl_ddb_dbuf_slice_mask(struct drm_i915_private *i915, 42 void skl_watermark_ipc_init(struct drm_i915_private *i915); 43 void skl_watermark_ipc_update(struct drm_i915_private *i915); 44 bool skl_watermark_ipc_enabled(struct drm_i915_private *i915); 45 void skl_watermark_debugfs_register(struct drm_i915_private *i915); 47 unsigned int skl_watermark_max_latency(struct drm_i915_private *i915, [all …]
|
H A D | intel_fdi.h | 12 struct drm_i915_private; 20 int intel_fdi_link_freq(struct drm_i915_private *i915, 31 void intel_fdi_init_hook(struct drm_i915_private *dev_priv); 35 void intel_fdi_pll_freq_update(struct drm_i915_private *i915); 40 void assert_fdi_tx_enabled(struct drm_i915_private *i915, enum pipe pipe); 41 void assert_fdi_tx_disabled(struct drm_i915_private *i915, enum pipe pipe); 42 void assert_fdi_rx_enabled(struct drm_i915_private *i915, enum pipe pipe); 43 void assert_fdi_rx_disabled(struct drm_i915_private *i915, enum pipe pipe); 44 void assert_fdi_tx_pll_enabled(struct drm_i915_private *i915, enum pipe pipe); 45 void assert_fdi_rx_pll_enabled(struct drm_i915_private *i915, enum pipe pipe); [all …]
|
H A D | intel_cdclk.h | 14 struct drm_i915_private; 62 void intel_cdclk_init_hw(struct drm_i915_private *i915); 63 void intel_cdclk_uninit_hw(struct drm_i915_private *i915); 64 void intel_init_cdclk_hooks(struct drm_i915_private *dev_priv); 65 void intel_update_max_cdclk(struct drm_i915_private *dev_priv); 66 void intel_update_cdclk(struct drm_i915_private *dev_priv); 67 u32 intel_read_rawclk(struct drm_i915_private *dev_priv); 70 int intel_mdclk_cdclk_ratio(struct drm_i915_private *i915, 75 void intel_cdclk_dump_config(struct drm_i915_private *i915, 79 void intel_cdclk_get_cdclk(struct drm_i915_private *dev_priv, [all …]
|
H A D | intel_lvds.h | 14 struct drm_i915_private; 17 bool intel_lvds_port_enabled(struct drm_i915_private *dev_priv, 19 void intel_lvds_init(struct drm_i915_private *dev_priv); 20 struct intel_encoder *intel_get_lvds_encoder(struct drm_i915_private *dev_priv); 21 bool intel_is_dual_link_lvds(struct drm_i915_private *dev_priv); 23 static inline bool intel_lvds_port_enabled(struct drm_i915_private *dev_priv, in intel_lvds_port_enabled() 28 static inline void intel_lvds_init(struct drm_i915_private *dev_priv) in intel_lvds_init() 31 static inline struct intel_encoder *intel_get_lvds_encoder(struct drm_i915_private *dev_priv) in intel_get_lvds_encoder() 35 static inline bool intel_is_dual_link_lvds(struct drm_i915_private *dev_priv) in intel_is_dual_link_lvds()
|
H A D | intel_pch_refclk.h | 11 struct drm_i915_private; 16 void lpt_disable_iclkip(struct drm_i915_private *dev_priv); 17 int lpt_get_iclkip(struct drm_i915_private *dev_priv); 20 void intel_init_pch_refclk(struct drm_i915_private *dev_priv); 21 void lpt_disable_clkout_dp(struct drm_i915_private *dev_priv); 26 static inline void lpt_disable_iclkip(struct drm_i915_private *dev_priv) in lpt_disable_iclkip() 29 static inline int lpt_get_iclkip(struct drm_i915_private *dev_priv) in lpt_get_iclkip() 37 static inline void intel_init_pch_refclk(struct drm_i915_private *dev_priv) in intel_init_pch_refclk() 40 static inline void lpt_disable_clkout_dp(struct drm_i915_private *dev_priv) in lpt_disable_clkout_dp()
|
H A D | intel_lpe_audio.h | 13 struct drm_i915_private; 16 int intel_lpe_audio_init(struct drm_i915_private *dev_priv); 17 void intel_lpe_audio_teardown(struct drm_i915_private *dev_priv); 18 void intel_lpe_audio_irq_handler(struct drm_i915_private *dev_priv); 19 void intel_lpe_audio_notify(struct drm_i915_private *dev_priv, 23 static inline int intel_lpe_audio_init(struct drm_i915_private *dev_priv) in intel_lpe_audio_init() 27 static inline void intel_lpe_audio_teardown(struct drm_i915_private *dev_priv) in intel_lpe_audio_teardown() 30 static inline void intel_lpe_audio_irq_handler(struct drm_i915_private *dev_priv) in intel_lpe_audio_irq_handler() 33 static inline void intel_lpe_audio_notify(struct drm_i915_private *dev_priv, in intel_lpe_audio_notify()
|
H A D | intel_display_power_well.c | 49 void (*sync_hw)(struct drm_i915_private *i915, 56 void (*enable)(struct drm_i915_private *i915, 62 void (*disable)(struct drm_i915_private *i915, 65 bool (*is_enabled)(struct drm_i915_private *i915, 76 lookup_power_well(struct drm_i915_private *i915, in lookup_power_well() 98 void intel_power_well_enable(struct drm_i915_private *i915, in intel_power_well_enable() 106 void intel_power_well_disable(struct drm_i915_private *i915, in intel_power_well_disable() 114 void intel_power_well_sync_hw(struct drm_i915_private *i915, in intel_power_well_sync_hw() 122 void intel_power_well_get(struct drm_i915_private *i915, in intel_power_well_get() 129 void intel_power_well_put(struct drm_i915_private *i915, in intel_power_well_put() [all …]
|
H A D | intel_fifo_underrun.h | 11 struct drm_i915_private; 15 void intel_init_fifo_underrun_reporting(struct drm_i915_private *i915, 17 bool intel_set_cpu_fifo_underrun_reporting(struct drm_i915_private *dev_priv, 19 bool intel_set_pch_fifo_underrun_reporting(struct drm_i915_private *dev_priv, 22 void intel_cpu_fifo_underrun_irq_handler(struct drm_i915_private *dev_priv, 24 void intel_pch_fifo_underrun_irq_handler(struct drm_i915_private *dev_priv, 26 void intel_check_cpu_fifo_underruns(struct drm_i915_private *dev_priv); 27 void intel_check_pch_fifo_underruns(struct drm_i915_private *dev_priv);
|
H A D | intel_overlay.h | 11 struct drm_i915_private; 17 void intel_overlay_setup(struct drm_i915_private *dev_priv); 18 void intel_overlay_cleanup(struct drm_i915_private *dev_priv); 24 void intel_overlay_reset(struct drm_i915_private *dev_priv); 26 intel_overlay_capture_error_state(struct drm_i915_private *dev_priv); 30 static inline void intel_overlay_setup(struct drm_i915_private *dev_priv) in intel_overlay_setup() 33 static inline void intel_overlay_cleanup(struct drm_i915_private *dev_priv) in intel_overlay_cleanup() 50 static inline void intel_overlay_reset(struct drm_i915_private *dev_priv) in intel_overlay_reset() 54 intel_overlay_capture_error_state(struct drm_i915_private *dev_priv) in intel_overlay_capture_error_state()
|
/linux/drivers/gpu/drm/xe/compat-i915-headers/ |
H A D | vlv_sideband.h | 14 struct drm_i915_private; 27 static inline void vlv_iosf_sb_get(struct drm_i915_private *i915, unsigned long ports) in vlv_iosf_sb_get() 30 static inline u32 vlv_iosf_sb_read(struct drm_i915_private *i915, u8 port, u32 reg) in vlv_iosf_sb_read() 34 static inline void vlv_iosf_sb_write(struct drm_i915_private *i915, in vlv_iosf_sb_write() 38 static inline void vlv_iosf_sb_put(struct drm_i915_private *i915, unsigned long ports) in vlv_iosf_sb_put() 41 static inline void vlv_bunit_get(struct drm_i915_private *i915) in vlv_bunit_get() 44 static inline u32 vlv_bunit_read(struct drm_i915_private *i915, u32 reg) in vlv_bunit_read() 48 static inline void vlv_bunit_write(struct drm_i915_private *i915, u32 reg, u32 val) in vlv_bunit_write() 51 static inline void vlv_bunit_put(struct drm_i915_private *i915) in vlv_bunit_put() 54 static inline void vlv_cck_get(struct drm_i915_private *i915) in vlv_cck_get() [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | vlv_sideband.h | 15 struct drm_i915_private; 28 void vlv_iosf_sb_get(struct drm_i915_private *i915, unsigned long ports); 29 void vlv_iosf_sb_put(struct drm_i915_private *i915, unsigned long ports); 31 static inline void vlv_bunit_get(struct drm_i915_private *i915) in vlv_bunit_get() 36 u32 vlv_bunit_read(struct drm_i915_private *i915, u32 reg); 37 void vlv_bunit_write(struct drm_i915_private *i915, u32 reg, u32 val); 39 static inline void vlv_bunit_put(struct drm_i915_private *i915) in vlv_bunit_put() 44 static inline void vlv_cck_get(struct drm_i915_private *i915) in vlv_cck_get() 49 u32 vlv_cck_read(struct drm_i915_private *i915, u32 reg); 50 void vlv_cck_write(struct drm_i915_private *i915, u32 reg, u32 val); [all …]
|
H A D | i915_irq.h | 18 struct drm_i915_private; 23 void intel_irq_init(struct drm_i915_private *dev_priv); 24 void intel_irq_fini(struct drm_i915_private *dev_priv); 25 int intel_irq_install(struct drm_i915_private *dev_priv); 26 void intel_irq_uninstall(struct drm_i915_private *dev_priv); 28 void gen5_enable_gt_irq(struct drm_i915_private *dev_priv, u32 mask); 29 void gen5_disable_gt_irq(struct drm_i915_private *dev_priv, u32 mask); 30 void gen11_reset_rps_interrupts(struct drm_i915_private *dev_priv); 31 void gen6_reset_rps_interrupts(struct drm_i915_private *dev_priv); 32 void gen6_enable_rps_interrupts(struct drm_i915_private *dev_priv); [all …]
|
H A D | intel_gvt.h | 29 struct drm_i915_private; 34 struct drm_i915_private *i915; 40 int intel_gvt_init(struct drm_i915_private *dev_priv); 41 void intel_gvt_driver_remove(struct drm_i915_private *dev_priv); 43 void intel_gvt_resume(struct drm_i915_private *dev_priv); 47 int (*init_device)(struct drm_i915_private *dev_priv); 48 void (*clean_device)(struct drm_i915_private *dev_priv); 49 void (*pm_resume)(struct drm_i915_private *i915); 56 static inline int intel_gvt_init(struct drm_i915_private *dev_priv) in intel_gvt_init() 61 static inline void intel_gvt_driver_remove(struct drm_i915_private *dev_priv) in intel_gvt_driver_remove() [all …]
|
H A D | i915_hwmon.h | 12 struct drm_i915_private; 16 void i915_hwmon_register(struct drm_i915_private *i915); 17 void i915_hwmon_unregister(struct drm_i915_private *i915); 18 void i915_hwmon_power_max_disable(struct drm_i915_private *i915, bool *old); 19 void i915_hwmon_power_max_restore(struct drm_i915_private *i915, bool old); 21 static inline void i915_hwmon_register(struct drm_i915_private *i915) { }; in i915_hwmon_register() 22 static inline void i915_hwmon_unregister(struct drm_i915_private *i915) { }; in i915_hwmon_unregister() 23 static inline void i915_hwmon_power_max_disable(struct drm_i915_private *i915, bool *old) { }; in i915_hwmon_power_max_disable() 24 static inline void i915_hwmon_power_max_restore(struct drm_i915_private *i915, bool old) { }; in i915_hwmon_power_max_restore()
|
H A D | vlv_sideband.c | 31 static void __vlv_punit_get(struct drm_i915_private *i915) in __vlv_punit_get() 51 static void __vlv_punit_put(struct drm_i915_private *i915) in __vlv_punit_put() 60 void vlv_iosf_sb_get(struct drm_i915_private *i915, unsigned long ports) in vlv_iosf_sb_get() 68 void vlv_iosf_sb_put(struct drm_i915_private *i915, unsigned long ports) in vlv_iosf_sb_put() 76 static int vlv_sideband_rw(struct drm_i915_private *i915, in vlv_sideband_rw() 126 u32 vlv_punit_read(struct drm_i915_private *i915, u32 addr) in vlv_punit_read() 136 int vlv_punit_write(struct drm_i915_private *i915, u32 addr, u32 val) in vlv_punit_write() 142 u32 vlv_bunit_read(struct drm_i915_private *i915, u32 reg) in vlv_bunit_read() 152 void vlv_bunit_write(struct drm_i915_private *i915, u32 reg, u32 val) in vlv_bunit_write() 158 u32 vlv_nc_read(struct drm_i915_private *i915, u8 addr) in vlv_nc_read() [all …]
|
H A D | i915_gem.h | 37 struct drm_i915_private; 49 void i915_gem_init_early(struct drm_i915_private *i915); 50 void i915_gem_cleanup_early(struct drm_i915_private *i915); 52 void i915_gem_drain_freed_objects(struct drm_i915_private *i915); 53 void i915_gem_drain_workqueue(struct drm_i915_private *i915); 74 void i915_gem_runtime_suspend(struct drm_i915_private *i915); 76 int __must_check i915_gem_init(struct drm_i915_private *i915); 77 void i915_gem_driver_register(struct drm_i915_private *i915); 78 void i915_gem_driver_unregister(struct drm_i915_private *i915); 79 void i915_gem_driver_remove(struct drm_i915_private *i915); [all …]
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_stolen.h | 11 struct drm_i915_private; 17 int i915_gem_stolen_insert_node(struct drm_i915_private *i915, 20 int i915_gem_stolen_insert_node_in_range(struct drm_i915_private *i915, 24 void i915_gem_stolen_remove_node(struct drm_i915_private *i915, 27 i915_gem_stolen_smem_setup(struct drm_i915_private *i915, u16 type, 30 i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, 34 i915_gem_object_create_stolen(struct drm_i915_private *i915, 41 bool i915_gem_stolen_initialized(const struct drm_i915_private *i915); 42 u64 i915_gem_stolen_area_address(const struct drm_i915_private *i915); 43 u64 i915_gem_stolen_area_size(const struct drm_i915_private *i915); [all …]
|