From: Alex Deucher Date: Fri, 20 May 2011 08:34:29 +0000 (-0400) Subject: drm/radeon/kms: simplify hotplug handler logic X-Git-Tag: v3.0-rc1~312^2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e85e1d07b9255bd52c557f1a77fb72ccfacaf1c;p=pandora-kernel.git drm/radeon/kms: simplify hotplug handler logic In the hotplug handler, just use the drm dpms functions. If the monitor is plugged in, turn it on, if it's not, turn it off. This also reduces power usage by turning off the encoder and crtc when the monitor is unplugged. Signed-off-by: Alex Deucher Signed-off-by: Dave Airlie --- Reading git-diff-tree failed