]> 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)
commit98281192976e160adb5925e246a8a4da828bfc77
tree01b8e88d622f109f1e28dfedbd2dba09445e58d6
parentd8d19571f2c6e39ca3107caf4faf5828077d2919
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