From: Alex Deucher Date: Fri, 7 Oct 2011 18:23:48 +0000 (-0400) Subject: drm/radeon/kms: handle !force case in connector detect more gracefully X-Git-Tag: v3.2-rc1~135^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0d0a225e6ad43314c9aa7ea081f76adc5098ad4;p=pandora-kernel.git drm/radeon/kms: handle !force case in connector detect more gracefully When force == false, we don't do load detection in the connector detect functions. Unforunately, we also return the previous connector state so we never get disconnect events for DVI-I, DVI-A, or VGA. Save whether we detected the monitor via load detection previously and use that to determine whether we return the previous state or not. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=41561 Signed-off-by: Alex Deucher Cc: stable@kernel.org Signed-off-by: Dave Airlie --- Reading git-diff-tree failed