summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/evergreen.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-05-20 04:34:29 -0400
committerDave Airlie <airlied@redhat.com>2011-05-20 20:02:33 +1000
commit1e85e1d07b9255bd52c557f1a77fb72ccfacaf1c (patch)
tree4477fe83f74558e89b2bb3bd7843cdf7435f6aeb /drivers/gpu/drm/radeon/evergreen.c
parent224d94b1445e2a836cd3790ff29f1866c052de4d (diff)
downloadblackbird-op-linux-1e85e1d07b9255bd52c557f1a77fb72ccfacaf1c.tar.gz
blackbird-op-linux-1e85e1d07b9255bd52c557f1a77fb72ccfacaf1c.zip
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 <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud