]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add intel_using_power_well
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 22 Mar 2013 17:14:13 +0000 (14:14 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Apr 2013 07:43:22 +0000 (09:43 +0200)
commitf63990ed2d9d20e467f742a9e9fd9664b400b48b
treebcabf231803e7d01071d01a312d54e9628dc40a4
parent630608ffb5533c5f2f66ef6b0e8221e748aa75f2
drm/i915: add intel_using_power_well

It returns true if we've requested to turn the power well on and it's
really on. It also returns true for all the previous gens.

For now there's just one caller, but I'm going to add more.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c