]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: rename i915_init_power_well to init_power_domains_init
authorImre Deak <imre.deak@intel.com>
Mon, 28 Oct 2013 15:20:35 +0000 (17:20 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 29 Oct 2013 17:53:21 +0000 (18:53 +0100)
commit2dce9184ada321ecebc14589df4a1a003b96e721
tree503696ed4f46e14c2a4f2d40ea5dc7a53ca1c11c
parentc83d9c9f7559a6a41ae2242405c8ade16eb108e7
drm/i915: rename i915_init_power_well to init_power_domains_init

Similarly rename the other related functions in the power domain
interface.

Higher level driver code calling these functions knows only about power
domains, not the underlying power wells which may be different on
different platforms. Also these functions really init/cleanup/resume
power domains and only through that all related power wells, so rename
them accordingly.

Note that I left i915_{request,release}_power_well as is, since that
really changes the state only of a single power well (and is HSW
specific). It should also get a better name once we make it more
generic by controlling things through a new audio power domain.

v4:
- use intel prefix instead of i915 everywhere (Paulo)
- use a $prefix_$block_$action format (Daniel)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c