Commit 7fd29602 authored by Jani Nikula's avatar Jani Nikula

drm/i915/vga: rename intel_vga_msr_write() to intel_vga_reset_io_mem()

Rename the function per Ville's suggestion. No functional changes.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Suggested-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191004122019.12009-1-jani.nikula@intel.com
parent 0e5493ca
...@@ -267,7 +267,7 @@ static void hsw_power_well_post_enable(struct drm_i915_private *dev_priv, ...@@ -267,7 +267,7 @@ static void hsw_power_well_post_enable(struct drm_i915_private *dev_priv,
u8 irq_pipe_mask, bool has_vga) u8 irq_pipe_mask, bool has_vga)
{ {
if (has_vga) if (has_vga)
intel_vga_msr_write(dev_priv); intel_vga_reset_io_mem(dev_priv);
if (irq_pipe_mask) if (irq_pipe_mask)
gen8_irq_power_well_post_enable(dev_priv, irq_pipe_mask); gen8_irq_power_well_post_enable(dev_priv, irq_pipe_mask);
......
...@@ -72,7 +72,7 @@ void intel_vga_redisable(struct drm_i915_private *i915) ...@@ -72,7 +72,7 @@ void intel_vga_redisable(struct drm_i915_private *i915)
intel_display_power_put(i915, POWER_DOMAIN_VGA, wakeref); intel_display_power_put(i915, POWER_DOMAIN_VGA, wakeref);
} }
void intel_vga_msr_write(struct drm_i915_private *i915) void intel_vga_reset_io_mem(struct drm_i915_private *i915)
{ {
struct pci_dev *pdev = i915->drm.pdev; struct pci_dev *pdev = i915->drm.pdev;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
struct drm_i915_private; struct drm_i915_private;
void intel_vga_msr_write(struct drm_i915_private *i915); void intel_vga_reset_io_mem(struct drm_i915_private *i915);
void intel_vga_disable(struct drm_i915_private *i915); void intel_vga_disable(struct drm_i915_private *i915);
void intel_vga_redisable(struct drm_i915_private *i915); void intel_vga_redisable(struct drm_i915_private *i915);
void intel_vga_redisable_power_on(struct drm_i915_private *i915); void intel_vga_redisable_power_on(struct drm_i915_private *i915);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment