All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 16389] New: New PM-Code produces white screen on laptop display on startup on an radeon x700
@ 2010-07-14 17:57 bugzilla-daemon
  2010-07-14 18:14 ` [Bug 16389] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-07-14 17:57 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16389

           Summary: New PM-Code produces white screen on laptop display on
                    startup on an radeon x700
           Product: Drivers
           Version: 2.5
    Kernel Version: 2.6.35-rc4
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
        AssignedTo: drivers_video-dri@kernel-bugs.osdl.org
        ReportedBy: kontrollator@gmx.de
        Regression: Yes


After the merge of the new-pm code for radeon it get an all white screen on my
laptop display as soon as kms gets activated. Before the merge it worked as
long as i used radeon.dynpm=1 as boot parameter (without this parameter i also
get an all white screen with earlier kernels).

I can work around it with an vbetool dpms off / on cycle (which uses bios
routines i think), i tried all options / combinations of radeon.hw_i2c and
radeon.new_pll without success. I also get an all white laptop-screen as soon
as i change resolutions on my display, this also can be workaround with an
vbetool dpms off / on cycle. 

This also happens in the non-kms-case with the xorg-driver whenever i change
resolutions, in the old days i could workaround it with the MonitorLayout
"LVDS, none" option, however this option is long gone.

Chipset is an mobility radeon x700 pcie, pci-id is: 1002:5653

Please tell me what more information is needed.

Thank you

Jan Kreuzer

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 16389] New PM-Code produces white screen on laptop display on startup on an radeon x700
  2010-07-14 17:57 [Bug 16389] New: New PM-Code produces white screen on laptop display on startup on an radeon x700 bugzilla-daemon
@ 2010-07-14 18:14 ` bugzilla-daemon
  2010-07-15  5:04 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-07-14 18:14 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16389


Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com




--- Comment #1 from Alex Deucher <alexdeucher@gmail.com>  2010-07-14 18:14:13 ---
What kernel are you using?  Can you bisect what exact commit broke it?  I seem
to recall that you had this issue before on older kernels and it just starting
working at some point.  I don't think the pm code is to blame per se, as it's
not enabled by default.  Also, note that dynpm is no longer a valid module
parameter with the new pm code.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 16389] New PM-Code produces white screen on laptop display on startup on an radeon x700
  2010-07-14 17:57 [Bug 16389] New: New PM-Code produces white screen on laptop display on startup on an radeon x700 bugzilla-daemon
  2010-07-14 18:14 ` [Bug 16389] " bugzilla-daemon
@ 2010-07-15  5:04 ` bugzilla-daemon
  2010-07-15  5:05 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-07-15  5:04 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16389





--- Comment #2 from Jan Kreuzer <kontrollator@gmx.de>  2010-07-15 05:04:26 ---
Currently on airlieds drm-radeon-testing, but the same happens with mainline. I
did an bisect run before, i will attach the log. However just reverting the
commit didnt help, so i dont think the log is right.

I also think that new pm-code is not to blame, i guess that activativing the
old code on boot time with the dynpm option led to an longer initializing time
of the chipset. I am not an programmer, but looked at the code of r420.c, the
old code kicked in after the initialize of the clocks, maybe more time is
needed there ? But maybe i am wrong, i added about 50 printks after
radeon_get_clock_info(rdev->ddev); sometimes it works no, sometimes not.

I had the issue since the beginning of radeon-kms, it started working after i
used the dynpm option at boot time, never without.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 16389] New PM-Code produces white screen on laptop display on startup on an radeon x700
  2010-07-14 17:57 [Bug 16389] New: New PM-Code produces white screen on laptop display on startup on an radeon x700 bugzilla-daemon
  2010-07-14 18:14 ` [Bug 16389] " bugzilla-daemon
  2010-07-15  5:04 ` bugzilla-daemon
@ 2010-07-15  5:05 ` bugzilla-daemon
  2010-07-20  8:33 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-07-15  5:05 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16389





--- Comment #3 from Jan Kreuzer <kontrollator@gmx.de>  2010-07-15 05:05:10 ---
Created an attachment (id=27110)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=27110)
gitbisectlog

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 16389] New PM-Code produces white screen on laptop display on startup on an radeon x700
  2010-07-14 17:57 [Bug 16389] New: New PM-Code produces white screen on laptop display on startup on an radeon x700 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-07-15  5:05 ` bugzilla-daemon
@ 2010-07-20  8:33 ` bugzilla-daemon
  2010-07-20 16:08 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-07-20  8:33 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16389





--- Comment #4 from Jan Kreuzer <kontrollator@gmx.de>  2010-07-20 08:33:28 ---
Looking at fdo-bug 22755 i found another way to put the screen into an usable
stae after resolution switch:
xrandr -s 1024x768; xrandr --output LVDS --off; xrandr --output LVDS --auto
works (i think it is the same call as vbetool dpms off / on).
Without turning the output off and on i get the white screen. Whats the
difference between boot-time initialization of the screen (which does not work)
and the initialization with the xrandr off / on call (which works) ?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 16389] New PM-Code produces white screen on laptop display on startup on an radeon x700
  2010-07-14 17:57 [Bug 16389] New: New PM-Code produces white screen on laptop display on startup on an radeon x700 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-07-20  8:33 ` bugzilla-daemon
@ 2010-07-20 16:08 ` bugzilla-daemon
  2010-07-21 21:36 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-07-20 16:08 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16389





--- Comment #5 from Alex Deucher <alexdeucher@gmail.com>  2010-07-20 16:08:48 ---
(In reply to comment #4)
> Looking at fdo-bug 22755 i found another way to put the screen into an usable
> stae after resolution switch:
> xrandr -s 1024x768; xrandr --output LVDS --off; xrandr --output LVDS --auto
> works (i think it is the same call as vbetool dpms off / on).
> Without turning the output off and on i get the white screen. Whats the
> difference between boot-time initialization of the screen (which does not work)
> and the initialization with the xrandr off / on call (which works) ?

Nothing.  Both use the same path in the driver.  I suspect this is a timing
issue with the LVDS.  Your system probably needs a longer/shorter delay
somewhere in the LVDS dpms code.  Can you try adjusting the delays in
radeon_legacy_lvds_dpms() in radeon_legacy_encoders.c?  Can you also try
something like this:

diff --git a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
index bad77f4..5688a0c 100644
--- a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
+++ b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
@@ -108,6 +108,7 @@ static void radeon_legacy_lvds_dpms(struct drm_encoder
*encoder, int mode)
                udelay(panel_pwr_delay * 1000);
                WREG32(RADEON_LVDS_GEN_CNTL, lvds_gen_cntl);
                WREG32_PLL(RADEON_PIXCLKS_CNTL, pixclks_cntl);
+               udelay(panel_pwr_delay * 1000);
                break;
        }

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Bug 16389] New PM-Code produces white screen on laptop display on startup on an radeon x700
  2010-07-14 17:57 [Bug 16389] New: New PM-Code produces white screen on laptop display on startup on an radeon x700 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-07-20 16:08 ` bugzilla-daemon
@ 2010-07-21 21:36 ` bugzilla-daemon
  2010-07-21 22:22 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-07-21 21:36 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16389


Rafael J. Wysocki <rjw@sisk.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maciej.rutecki@gmail.com,
                   |                            |rjw@sisk.pl
             Blocks|                            |16055




--- Comment #6 from Rafael J. Wysocki <rjw@sisk.pl>  2010-07-21 21:36:15 ---
Handled-By : Alex Deucher <alexdeucher@gmail.com>

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 16389] New PM-Code produces white screen on laptop display on startup on an radeon x700
  2010-07-14 17:57 [Bug 16389] New: New PM-Code produces white screen on laptop display on startup on an radeon x700 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2010-07-21 21:36 ` bugzilla-daemon
@ 2010-07-21 22:22 ` bugzilla-daemon
  2010-07-23  7:42 ` bugzilla-daemon
  2010-07-23 11:28 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-07-21 22:22 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16389





--- Comment #7 from Jan Kreuzer <kontrollator@gmx.de>  2010-07-21 22:22:51 ---
Adding the udelay as mentioned in your patch solves the whitescreen on startup
and on resolution switching on latest linux-git and on latest
drm-radeon-testing, so this seems to be the right fix. Thank you. I Will close
the bug as soon its commited to mainline.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 16389] New PM-Code produces white screen on laptop display on startup on an radeon x700
  2010-07-14 17:57 [Bug 16389] New: New PM-Code produces white screen on laptop display on startup on an radeon x700 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2010-07-21 22:22 ` bugzilla-daemon
@ 2010-07-23  7:42 ` bugzilla-daemon
  2010-07-23 11:28 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-07-23  7:42 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16389


Jan Kreuzer <kontrollator@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |CODE_FIX




--- Comment #8 from Alex Deucher <alexdeucher@gmail.com>  2010-07-21 23:39:28 ---
I've sent the patch to Dave.

--- Comment #9 from Jan Kreuzer <kontrollator@gmx.de>  2010-07-23 07:42:08 ---
Fixed in commit 15cb02c0a0338ee724bf23e31c7c410ecbffeeba

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 16389] New PM-Code produces white screen on laptop display on startup on an radeon x700
  2010-07-14 17:57 [Bug 16389] New: New PM-Code produces white screen on laptop display on startup on an radeon x700 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2010-07-23  7:42 ` bugzilla-daemon
@ 2010-07-23 11:28 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-07-23 11:28 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16389


Rafael J. Wysocki <rjw@sisk.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED




-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-07-23 11:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-14 17:57 [Bug 16389] New: New PM-Code produces white screen on laptop display on startup on an radeon x700 bugzilla-daemon
2010-07-14 18:14 ` [Bug 16389] " bugzilla-daemon
2010-07-15  5:04 ` bugzilla-daemon
2010-07-15  5:05 ` bugzilla-daemon
2010-07-20  8:33 ` bugzilla-daemon
2010-07-20 16:08 ` bugzilla-daemon
2010-07-21 21:36 ` bugzilla-daemon
2010-07-21 22:22 ` bugzilla-daemon
2010-07-23  7:42 ` bugzilla-daemon
2010-07-23 11:28 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.