[PATCH 16/18] drm/radeon/kms: simplify hotplug handler logic

2011-05-20 Thread Alex Deucher
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 --- drivers/gpu/drm/radeon/atombios_dp.c

[PATCH 16/18] drm/radeon/kms: simplify hotplug handler logic

2011-05-20 Thread Alex Deucher
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 --- drivers/gpu/drm/radeon/atombios_dp.c