From: Ville Syrjälä Date: Wed, 4 Sep 2013 15:25:25 +0000 (+0300) Subject: drm/i915: Make intel_crtc_active() available outside intel_pm.c X-Git-Tag: v3.13-rc1~76^2~114^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20ddf6650458d08d42c3c3f8240a0d00a7e9ee97;p=pandora-kernel.git drm/i915: Make intel_crtc_active() available outside intel_pm.c Move intel_crtc_active() to intel_display.c and make it available elsewhere as well. intel_edp_psr_match_conditions() already has one open coded copy, so replace that one with a call to intel_crtc_active(). v2: Copy paste a big comment from danvet's mail explaining when we can ditch the extra checks Signed-off-by: Ville Syrjälä Reviewed-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed