Lines Matching refs:i915

15 static i915_reg_t intel_vga_cntrl_reg(struct drm_i915_private *i915)  in intel_vga_cntrl_reg()  argument
17 if (IS_VALLEYVIEW(i915) || IS_CHERRYVIEW(i915)) in intel_vga_cntrl_reg()
19 else if (DISPLAY_VER(i915) >= 5) in intel_vga_cntrl_reg()
58 void intel_vga_redisable(struct drm_i915_private *i915) in intel_vga_redisable() argument
71 wakeref = intel_display_power_get_if_enabled(i915, POWER_DOMAIN_VGA); in intel_vga_redisable()
75 intel_vga_redisable_power_on(i915); in intel_vga_redisable()
77 intel_display_power_put(i915, POWER_DOMAIN_VGA, wakeref); in intel_vga_redisable()
80 void intel_vga_reset_io_mem(struct drm_i915_private *i915) in intel_vga_reset_io_mem() argument
82 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_reset_io_mem()
100 intel_vga_set_state(struct drm_i915_private *i915, bool enable_decode) in intel_vga_set_state() argument
102 unsigned int reg = DISPLAY_VER(i915) >= 6 ? SNB_GMCH_CTRL : INTEL_GMCH_CTRL; in intel_vga_set_state()
105 if (pci_read_config_word(i915->bridge_dev, reg, &gmch_ctrl)) { in intel_vga_set_state()
106 drm_err(&i915->drm, "failed to read control word\n"); in intel_vga_set_state()
118 if (pci_write_config_word(i915->bridge_dev, reg, gmch_ctrl)) { in intel_vga_set_state()
119 drm_err(&i915->drm, "failed to write control word\n"); in intel_vga_set_state()
129 struct drm_i915_private *i915 = pdev_to_i915(pdev); in intel_vga_set_decode() local
131 intel_vga_set_state(i915, enable_decode); in intel_vga_set_decode()
140 int intel_vga_register(struct drm_i915_private *i915) in intel_vga_register() argument
143 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_register()
161 void intel_vga_unregister(struct drm_i915_private *i915) in intel_vga_unregister() argument
163 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_unregister()