]> git.baikalelectronics.ru Git - kernel.git/commit
drm: fix regression in fb blank handling
authorZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 18 Jan 2010 08:47:04 +0000 (16:47 +0800)
committerDave Airlie <airlied@redhat.com>
Mon, 25 Jan 2010 06:04:47 +0000 (16:04 +1000)
commitd34bd130a17e6f02a86687e8097751a5b2a515fc
treed6a5c1f2c9cf8cca953aabed543f86c732e2adee
parentc263b9ba41c29b3998304a51f1f34785ea88ff77
drm: fix regression in fb blank handling

commit 51356087816d7b232913ff0e38a425c025622a74
Author: James Simmons <jsimmons@infradead.org>
Date:   Thu Oct 29 20:39:07 2009 +0000

    drm/kms: properly handle fbdev blanking

uses DRM_MODE_DPMS_ON for FB_BLANK_NORMAL, but DRM_MODE_DPMS_ON
is actually for turning output on instead of blank.

This makes fb blank broken on my T61, it put LVDS on but leave
pipe disabled which made screen totally white or caused some
'burning' effect.

[airlied: James objects to this but at this point in 2.6.33,
I can't see a patch that will fix this properly like he wants coming
in time and otherwise this is a regression - proper fix for 2.6.34
hopefully.]

Cc: James Simmons <jsimmons@infradead.org>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c