drm/i915/skl: Introduce enable_requested and is_enabled in the power well code
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 6 Mar 2015 18:50:49 +0000 (18:50 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Mar 2015 21:30:06 +0000 (22:30 +0100)
commit2a51835f6149905b86954574c258ee094d98813e
tree27f59c235894e81499ebac4c81adc32772df6afa
parent4c6c03be125e9d8477c2d8ef3c3280270956b1fe
drm/i915/skl: Introduce enable_requested and is_enabled in the power well code

Just like what we do for HSW/BDW, having those variables makes it a bit
easier to parse the code.

Suggested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_runtime_pm.c