From: Ville Syrjälä Date: Thu, 16 Oct 2014 18:27:29 +0000 (+0300) Subject: drm/i915: Remove high level intel_edp_vdd_{on, off}() from hpd/detect X-Git-Tag: omap-for-v3.20/drop-legacy-3517~77^2~64^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a66800e035bb6a64c2d0f8cb315edabbef819b9;p=pandora-kernel.git drm/i915: Remove high level intel_edp_vdd_{on, off}() from hpd/detect want_panel_vdd is a bool so it can't cope with interleaving on/off calls from multiple threads. If we want to make that possible we'd need to convert want_panel_vdd into a proper ref count. But an easier fix is to remove the high level vdd on/off calls from detect/hpd code paths and just rely on the delayed vdd off to avoid needless vdd on<->off ping pong. After this change only the encoder enable/disable paths use the high level functions, which is fine since both the on and off low level edp vdd calls from intel_dp_aux_ch() happen without dropping pps_mutex in between and so want_panel_vdd can't change in between. Signed-off-by: Ville Syrjälä Reviewed-by: Imre Deak Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed