drm/i915: factor out is_always_on_domain
authorImre Deak <imre.deak@intel.com>
Wed, 16 Oct 2013 14:25:49 +0000 (17:25 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 21 Oct 2013 18:56:13 +0000 (20:56 +0200)
commitbddc76452d16cd1101ba29c0cff653cb8313b010
tree1132d0dbb66c2ab42fc46f112599786b4c757946
parentf52e353e193556044ae30622d50bd76802e9d859
drm/i915: factor out is_always_on_domain

It is just cleaner this way and makes it easier to add support for
other HW generations with always-on power wells powering a different
set of domains.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c