[Intel-gfx] [PATCH 01/19] drm/i915: rename modeset_update_power_wells

Imre Deak imre.deak at intel.com
Thu Feb 27 14:44:28 CET 2014


On Thu, 2013-12-19 at 11:54 -0200, Paulo Zanoni wrote:
> From: Paulo Zanoni <paulo.r.zanoni at intel.com>
> 
> 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: Paulo Zanoni <paulo.r.zanoni at intel.com>

Reviewed-by: Imre Deak <imre.deak at intel.com>

> ---
>  drivers/gpu/drm/i915/intel_display.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 4d1357a..c661423 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -6860,7 +6860,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;
> @@ -6897,7 +6897,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);
>  }
>  

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20140227/48d15779/attachment.sig>


More information about the Intel-gfx mailing list