提交 da723569 编写于 作者: P Paulo Zanoni 提交者: Daniel Vetter

drm/i915: rename modeset_update_power_wells

To modeset_update_crtc_power_domains, since this function is
responsible for updating all the power domains of all CRTCs after a
modeset. In the future we should also run this function on all
platforms, not just Haswell.
Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: NImre Deak <imre.deak@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 d4d5be61
......@@ -6873,7 +6873,7 @@ void intel_display_set_init_power(struct drm_device *dev, bool enable)
dev_priv->power_domains.init_power_on = enable;
}
static void modeset_update_power_wells(struct drm_device *dev)
static void modeset_update_crtc_power_domains(struct drm_device *dev)
{
unsigned long pipe_domains[I915_MAX_PIPES] = { 0, };
struct intel_crtc *crtc;
......@@ -6910,7 +6910,7 @@ static void modeset_update_power_wells(struct drm_device *dev)
static void haswell_modeset_global_resources(struct drm_device *dev)
{
modeset_update_power_wells(dev);
modeset_update_crtc_power_domains(dev);
hsw_update_package_c8(dev);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册