From: Daniel Vetter Date: Tue, 23 Oct 2012 18:23:35 +0000 (+0000) Subject: drm: properly init/reset connector status X-Git-Tag: v3.8-rc1~82^2~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e2cb2f6da72323877e5847512f8bd8d53c532f2;p=pandora-kernel.git drm: properly init/reset connector status This can help drivers to make somewhat intelligent decisions in their ->detect callback: If the connector is hpd capable and in the unknown state, the driver needs to force a full detect cycle. Otherwise it could just (if it chooses so) to update the connector state from it's hpd handler directly, and always return that in the ->detect callback. Atm only drm/i915 calls drm_mode_config_reset at resume time, so other drivers would need to add that call first before using this facility. Signed-off-by: Daniel Vetter Reviewed-by: Alex Deucher Signed-off-by: Dave Airlie --- Reading git-diff-tree failed