]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add HAS_POWER_WELL
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 6 Mar 2013 23:03:18 +0000 (20:03 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 17 Mar 2013 20:49:23 +0000 (21:49 +0100)
commit089183e7a6c746e7a15c175f926061d495690206
tree01b8e88d622f109f1e28dfedbd2dba09445e58d6
parentb38a6c5ecbb03896c7feaefe6364949393bab0cb
drm/i915: add HAS_POWER_WELL

We're starting to add many IS_HASWELL checks for the power well code,
so add a HAS_POWER_WELL macro to properly document that we're checking
for hardware that has the power down well.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
[danvet: Resolve conflicts since some converted code was added by
not-yet merged patches.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c