From: Paulo Zanoni Date: Wed, 30 Oct 2013 21:50:26 +0000 (-0200) Subject: drm/i915: turn the eDP VDD on for any i2c transactions X-Git-Tag: v3.13-rc1~76^2~11^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a5e6aeb30ecaf8f11a99c0d008c8935cd6fba9f;p=pandora-kernel.git drm/i915: turn the eDP VDD on for any i2c transactions If the eDP output is disabled, then we try to use /dev/i2c-X file to do i2c transations, we get a WARN from intel_dp_check_edp() saying we're trying to do AUX communication with the panel off. So this commit reorganizes the code so we enable the VDD at intel_dp_i2c_aux_ch() instead of just the callers inside i915.ko. This fixes the i2c subtest from the pc8 test of intel-gpu-tools on machines that have eDP panels. Signed-off-by: Paulo Zanoni Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed