[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: radeonfb never redraws screen on wake



On Sun, Nov 16, 2003 at 10:20:28AM +1100, Benjamin Herrenschmidt wrote:
> 
> > sure, same problem (blank display on wake-up from sleep).
> > Additionally with the 2.6 new driver console is always blank, but X
> > works until the machine sleeps.
> 
> Ah ? You mean at boot you get a blank console ? interesting... Is the
> display really blank or is it just the backlight that is off ?

Well, it isn't actually blank, to be more specific, starting from
yaboot I get (copied by hand, may be incorrect ):

Please wait, loading kernel

** Then the screen clears and at the top I have **

... ok
opening display /pci@f00000000/ATY,BeeParent@10/ATY,Bee_B...ok
Copying OF device tree ... done
@stext=0x01400000 phys=0x01400000 result[0]=ffffffff result[1]=0x00000010
calling quiesce ...
returning 0x0140000 from prom_init

Then no more text, the messages stay at the top of the screen.  The
background is white, the text it black.  The screen does flash once to
black and then back to white fairly soon after the message above
appears.  Then I wait several seconds for X to start with the above 5
lines still at the top of the screen.

X starts up normally (the display goes black with the backlight on,
then I get X).

If I switch to console from X I get a distorted image of what I had under X.
Features are are roughly doubled in size (xterm taking up 1/4 of the screen
under X now under console takes up most of the screen) It is as if the video
device under console is interpreting the same memory as under X (Linux never
gave it something new to draw?), but parameters have been changed so the image
is distorted.

Here is some dmesg spew from the new radeon driver:


bus pci: add driver radeonfb
radeonfb_pci_register BEGIN
PCI: Enabling device 0000:00:10.0 (0086 -> 0087)
aper_base: 98000000 MC_FB_LOC to: 9bff9800, MC_AGP_LOC to: ffffa000
radeonfb: probed DDR SGRAM 32768k videoram
radeonfb: Invalid ROM signature 0 should be 0xaa55
radeonfb: Retreived PLL infos from Open Firmware
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=180.00 Mhz, System=180.00 MHz
Starting monitor auto detection...
radeon_probe_OF_head
head: ATY,Bee_A (letter: A, head_no: 0)
analyzing OF properties...
display-type: LCD
radeon_probe_OF_head
head: ATY,Bee_A (letter: A, head_no: 1)
radeonfb: Monitor 1 type LCD found
radeonfb: EDID probed
========================================
Display Information (EDID)
========================================
   EDID Version 1.3
   Manufacturer: APP Model: 9c12 Serial#: 16843009
   Year: 2002 Week 0
   Display Characteristics:
      Digital Display Input      Sync: 
      Max H-size in cm: 25
      Max V-size in cm: 18
      Gamma: 2.20
      DPMS: Active no, Suspend no, Standby no
      RGB Color Display
      Chromaticity: RedX:   0.584 RedY:   0.340
                    GreenX: 0.289 GreenY: 0.540
                    BlueX:  0.148 BlueY:  0.133
                    WhiteX: 0.313 WhiteY: 0.329
      First DETAILED Timing is preferred
   Standard Timings
   Supported VESA Modes
      1024x768@60Hz
      Manufacturer's mask: 0
   Detailed Monitor Information
      65 MHz 1024 1048 1184 1344 768 771 777 806 -HSync -VSync

      LTN121X1-L02
      LTN121X1-L02
      Monitor Name  : Color LCD
========================================
radeonfb: Monitor 2 type no found
Parsing EDID data for panel info
Setting up default mode based on panel info
radeonfb: Power Management enabled for Mobility chipsets
radeonfb: ATI Radeon LW  DDR SGRAM 32 MB
radeonfb_pci_register END
bound device '0000:00:10.0' to driver 'radeonfb'
bus of_platform: add driver platinumfb
bus of_platform: add driver valkyriefb
bus pci: add driver chipsfb
bus pci: add driver imsttfb
Thermal assist unit using timers, shrink_timer: 2000 jiffies
bus of_platform: add device uni-n-i2c


. . . .

hStart = 1048, hEnd = 1184, hTotal = 1344
vStart = 771, vEnd = 777, vTotal = 806
h_total_disp = 0x7f00a7	   hsync_strt_wid = 0x910410
v_total_disp = 0x2ff0325	   vsync_strt_wid = 0x860302
pixclock = 15384
freq = 6500
lvds_gen_cntl: 000d26a1


Thanks for the brain cycles,

David



Reply to: