commit | 040987539448708c36ece11c985ee9f3166bb420 | [log] [tgz] |
---|---|---|
author | Imre Deak <imre.deak@intel.com> | Tue Feb 18 00:02:16 2014 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Mar 05 21:30:08 2014 +0100 |
tree | 9c016120aac7ccf83ccd7b079c9f28de3bb86257 | |
parent | e13192f6c1e4aa064adab3865af321392a303c87 [diff] |
drm/i915: use power domain api to check vga power state This way we can reuse the check on other platforms too. Also factor out a version of the function that doesn't check if the power is on, we'll need to call this from within the power domain framework. 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>