Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=6011          
     




------- Additional Comments From [EMAIL PROTECTED]  2006-02-25 13:22 -------
RADEONRestoreMode() {

    } else {
        RADEONRestoreMemMapRegisters(pScrn, restore);
ErrorF("under the else\n");
        if (info->MergedFB) {
ErrorF("MergedFB RADEONRestoreCrtc2Registers()\n");
            RADEONRestoreCrtc2Registers(pScrn, restore);
ErrorF("MergedFB RADEONRestorePLL2Registers()\n");
            RADEONRestorePLL2Registers(pScrn, restore);
        }

        if (!pRADEONEnt->HasSecondary || pRADEONEnt->IsSecondaryRestored ||
            info->IsSwitching) {
            pRADEONEnt->IsSecondaryRestored = FALSE;

ErrorF("HasSecondary RADEONRestoreCommonRegisters()\n");
            RADEONRestoreCommonRegisters(pScrn, restore);
ErrorF("HasSecondary RADEONRestoreCrtcRegisters()\n");
Died here ->            RADEONRestoreCrtcRegisters(pScrn, restore);
ErrorF("HasSecondary RADEONRestoreFPRegisters()\n");
            RADEONRestoreFPRegisters(pScrn, restore);
ErrorF("HasSecondary RADEONRestorePLL2Registers()\n");
            RADEONRestorePLLRegisters(pScrn, restore);




static void RADEONRestoreCrtcRegisters(ScrnInfoPtr pScrn,
                                       RADEONSavePtr restore)
{
    RADEONInfoPtr  info       = RADEONPTR(pScrn);
    unsigned char *RADEONMMIO = info->MMIO;
ErrorF("Die location 1\n");
    OUTREG(RADEON_CRTC_GEN_CNTL, restore->crtc_gen_cntl);

ErrorF("Die location 2\n");
Died at this register setting ->    OUTREGP(RADEON_CRTC_EXT_CNTL,
            restore->crtc_ext_cntl,
            RADEON_CRTC_VSYNC_DIS |
            RADEON_CRTC_HSYNC_DIS |
            RADEON_CRTC_DISPLAY_DIS);

This is what I found. I learned that by disabling this line in the function
RADEONRestoreMemMapRegisters()

    if (INREG(RADEON_MC_FB_LOCATION) != restore->mc_fb_location ||
        INREG(RADEON_MC_AGP_LOCATION) != restore->mc_agp_location) {

with 
   if (0) {
Then the computer didn't lockup until much later in the card initialization.

This is the additional log with the if(0) { hack:
(**) RADEON(0): GRPH_BUFFER_CNTL from 200d7c7c to 20135c5c
(II) RADEON(0): Direct rendering enabled
(**) RADEON(0): Setting up final surfaces
(**) RADEON(0): Initializing Acceleration
(II) RADEON(0): Render acceleration enabled
(**) RADEON(0): EngineInit (32/32)

from the original lockup log file. I hope this helps.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to