]>
Commit | Line | Data |
---|---|---|
7563275a GKH |
1 | From 15cb02c0a0338ee724bf23e31c7c410ecbffeeba Mon Sep 17 00:00:00 2001 |
2 | From: Alex Deucher <alexdeucher@gmail.com> | |
3 | Date: Wed, 21 Jul 2010 19:37:21 -0400 | |
4 | Subject: drm/radeon/kms: fix legacy LVDS dpms sequence | |
5 | ||
6 | From: Alex Deucher <alexdeucher@gmail.com> | |
7 | ||
8 | commit 15cb02c0a0338ee724bf23e31c7c410ecbffeeba upstream. | |
9 | ||
10 | Add delay after turning off the LVDS encoder. | |
11 | ||
12 | Fixes: | |
13 | https://bugzilla.kernel.org/show_bug.cgi?id=16389 | |
14 | ||
15 | Tested-by: Jan Kreuzer <kontrollator@gmx.de> | |
16 | Signed-off-by: Alex Deucher <alexdeucher@gmail.com> | |
17 | Signed-off-by: Dave Airlie <airlied@redhat.com> | |
18 | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> | |
19 | ||
20 | --- | |
21 | drivers/gpu/drm/radeon/radeon_legacy_encoders.c | 1 + | |
22 | 1 file changed, 1 insertion(+) | |
23 | ||
24 | --- a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c | |
25 | +++ b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c | |
26 | @@ -89,6 +89,7 @@ static void radeon_legacy_lvds_dpms(stru | |
27 | udelay(panel_pwr_delay * 1000); | |
28 | WREG32(RADEON_LVDS_GEN_CNTL, lvds_gen_cntl); | |
29 | WREG32_PLL(RADEON_PIXCLKS_CNTL, pixclks_cntl); | |
30 | + udelay(panel_pwr_delay * 1000); | |
31 | break; | |
32 | } | |
33 |