]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: make intel_aux_display_runtime_get get runtime PM, not PC8
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 7 Mar 2014 23:08:12 +0000 (20:08 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 19 Mar 2014 15:39:22 +0000 (16:39 +0100)
commit3c4e34c4931fb2cda50f4e5475de7f7cb69fb2d7
tree9f15a087b1e8d5226ab24eb0f5142115291bdb2b
parent75fc71e5cdff4134a2cb20cd4a6d9e5e66d446f4
drm/i915: make intel_aux_display_runtime_get get runtime PM, not PC8

Because we merged the PC8 and runtime PM features, so calling
intel_runtime_pm_get now has the same meaning, and we plan to just
remove hsw_disable_package_c8 for this exact reason.

My first patch tried to completely kill
intel_aux_display_runtime_get/put, because I was assuming that whoever
needed more than just runtime PM would have to get the appropriate
power domain instead of that, but it seems some people still want the
intel_aux_display_runtime_get abstraction, so keep it until someone
else tries to replace it with the more-standard power domain calls.

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