]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm: correctly update connector DPMS status in drm_fb_helper
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 2 Jul 2010 17:48:08 +0000 (10:48 -0700)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Jul 2010 04:21:39 +0000 (14:21 +1000)
commit023eb571a1d0eae738326042dcffa974257eb8c8
tree81451d23e88d72b221fdf999ebe75c5e8b44d77a
parentb2ea4aa67bfd084834edd070e0a4a47857d6db59
drm: correctly update connector DPMS status in drm_fb_helper

We don't currently update the DPMS status of the connector (both in the
connector itself and the connector's DPMS property) in the fb helper
code.  This means that if the kernel FB core has blanked the screen,
sysfs will still show a DPMS status of "on".  It also means that when X
starts, it will try to light up the connectors, but the drm_crtc_helper
code will ignore the DPMS change since according to the connector, the
DPMS status is already on.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=28436 (the annoying
"my screen was blanked when I started X and now it won't light up" bug).

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c