From: Imre Deak Date: Mon, 17 Feb 2014 22:02:16 +0000 (+0200) Subject: drm/i915: use power domain api to check vga power state X-Git-Tag: v3.15-rc1~51^2~55^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=040987539448708c36ece11c985ee9f3166bb420;p=pandora-kernel.git 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 Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed