[Intel-gfx] CRT not detected via hotplug on resume

Rainer Dorsch ml at bokomoko.de
Sat Oct 22 20:41:46 CEST 2011


Keith,

sorry for the late reply, but it took until now until the problem came back.

My problem was that with my G35 (GMA X3500)

00:02.0 VGA compatible controller: Intel Corporation 82G35 Express Integrated 
Graphics Controller (rev 03) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 8276
        Flags: bus master, fast devsel, latency 0, IRQ 44
        Memory at fe800000 (32-bit, non-prefetchable) [size=1M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at cc00 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>
        Kernel driver in use: i915


SDVO did not come up after resume in rare cases, i.e. the screen stays black 
(machine is fine, login via ssh is no problem at all):

http://lists.freedesktop.org/archives/intel-gfx/2011-September/012132.html

Now I got a register dump from a clean resume:

http://bokomoko.de/~rd/GMA3500-black-screen/intel_reg_dump-20111022-working-
screen.dump

and a not working resume

http://bokomoko.de/~rd/GMA3500-black-screen/intel_reg_dump-20111022-black-
screen.dump

Here is the diff of the register dumps, a few registers are different:

blackbox:~# diff -u intel_reg_dump-20111022-working-screen.dump 
intel_reg_dump-20111022-black-screen.dump
--- intel_reg_dump-20111022-working-screen.dump 2011-10-22 18:17:31.740634880 
+0200
+++ intel_reg_dump-20111022-black-screen.dump   2011-10-22 18:14:10.651270448 
+0200
@@ -1,4 +1,4 @@
-                 DCC: 0x00100008 ( �y�d����cz�T�����v�H���d�{�)
+                 DCC: 0x00100008 ( �|�t����}�d���z�X��d�~�)
            CHDECMISC: 0x000000ac (XOR bank/rank, ch2 enh disabled, ch1 enh 
enabled, ch0 enh enabled, flex disabled, ep not present)
               C0DRB0: 0x00100008 (0x0008)
               C0DRB1: 0x00180010 (0x0010)
@@ -51,18 +51,18 @@
              DSPAPOS: 0x00000000 (0, 0)
             DSPASIZE: 0x00000000 (1, 1)
             DSPABASE: 0x00000000
-            DSPASURF: 0x0144c000
+            DSPASURF: 0x0e4eb000
          DSPATILEOFF: 0x00000000
            PIPEACONF: 0xc0000000 (enabled, active)
             PIPEASRC: 0x04ff03ff (1280, 1024)
-           PIPEASTAT: 0x00000307 (status: VSYNC_INT_STATUS 
DLINE_COMPARE_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS)
+           PIPEASTAT: 0x00040203 (status: SVBLANK_INT_ENABLE VSYNC_INT_STATUS 
VBLANK_INT_STATUS OREG_UPDATE_STATUS)
    PIPEA_GMCH_DATA_M: 0x00000000
    PIPEA_GMCH_DATA_N: 0x00000000
      PIPEA_DP_LINK_M: 0x00000000
      PIPEA_DP_LINK_N: 0x00000000
        CURSOR_A_BASE: 0x01950000
     CURSOR_A_CONTROL: 0x04000027
-   CURSOR_A_POSITION: 0x0267800b
+   CURSOR_A_POSITION: 0x024b0182
                 FPA0: 0x00020e08 (n = 2, m1 = 14, m2 = 8)
                 FPA1: 0x00020e08 (n = 2, m1 = 14, m2 = 8)
               DPLL_A: 0xd4020c00 (enabled, dvo, default clock, DAC/serial 
mode, p1 = 2, p2 = 10)
@@ -150,7 +150,7 @@
         FBC_CONTROL2: 0xffffffff
        FBC_FENCE_OFF: 0xffffffff
          FBC_MOD_NUM: 0xffffffff
-             MI_MODE: 0x00000240
+             MI_MODE: 0x00000040
         MI_ARB_STATE: 0x00000044
       MI_RDRET_STATE: 0x00000000
              ECOSKPD: 0x00000307
@@ -195,36 +195,36 @@
             FENCE  5: 0x00000000 (disabled)
             FENCE  6: 0x00000000 (disabled)
             FENCE  7: 0x00000000 (disabled)
-            FENCE  8: 0x085f809d (disabled)
-            FENCE  9: 0x08af7000 (disabled)
-           FENCE  10: 0x0ae6409d (disabled)
-           FENCE  11: 0x0b363000 (disabled)
-           FENCE  12: 0x0e4eb09d (disabled)
-           FENCE  13: 0x0e9ea000 (disabled)
-           FENCE  14: 0x04f5d09d (disabled)
-           FENCE  15: 0x04f84000 (disabled)
-       FENCE START 0: 0x085f809d ( enabled, X tile walk, 5120 pitch, 
0x085f8000 start)
-         FENCE END 0: 0x08af7000 (                                   
0x08af7000 end)
-       FENCE START 1: 0x0ae6409d ( enabled, X tile walk, 5120 pitch, 
0x0ae64000 start)
-         FENCE END 1: 0x0b363000 (                                   
0x0b363000 end)
-       FENCE START 2: 0x0e4eb09d ( enabled, X tile walk, 5120 pitch, 
0x0e4eb000 start)
-         FENCE END 2: 0x0e9ea000 (                                   
0x0e9ea000 end)
-       FENCE START 3: 0x04f5d09d ( enabled, X tile walk, 5120 pitch, 
0x04f5d000 start)
-         FENCE END 3: 0x04f84000 (                                   
0x04f84000 end)
-       FENCE START 4: 0x07ddb06d ( enabled, X tile walk, 3584 pitch, 
0x07ddb000 start)
-         FENCE END 4: 0x080da000 (                                   
0x080da000 end)
-       FENCE START 5: 0x048f109d ( enabled, X tile walk, 5120 pitch, 
0x048f1000 start)
-         FENCE END 5: 0x04918000 (                                   
0x04918000 end)
-       FENCE START 6: 0x0d39e09d ( enabled, X tile walk, 5120 pitch, 
0x0d39e000 start)
-         FENCE END 6: 0x0d89d000 (                                   
0x0d89d000 end)
-       FENCE START 7: 0x0144c09d ( enabled, X tile walk, 5120 pitch, 
0x0144c000 start)
-         FENCE END 7: 0x0194b000 (                                   
0x0194b000 end)
-       FENCE START 8: 0x0491d09d ( enabled, X tile walk, 5120 pitch, 
0x0491d000 start)
-         FENCE END 8: 0x04944000 (                                   
0x04944000 end)
-       FENCE START 9: 0x00000000 (disabled, X tile walk,  128 pitch, 
0x00000000 start)
-         FENCE END 9: 0x00000000 (                                   
0x00000000 end)
-      FENCE START 10: 0x00000000 (disabled, X tile walk,  128 pitch, 
0x00000000 start)
-        FENCE END 10: 0x00000000 (                                   
0x00000000 end)
+            FENCE  8: 0x0144c09d (disabled)
+            FENCE  9: 0x0194b000 (disabled)
+           FENCE  10: 0x0e4eb09d (disabled)
+           FENCE  11: 0x0e9ea000 (disabled)
+           FENCE  12: 0x086e909d (disabled)
+           FENCE  13: 0x08be8000 (disabled)
+           FENCE  14: 0x064ab09d (disabled)
+           FENCE  15: 0x069aa000 (disabled)
+       FENCE START 0: 0x0144c09d ( enabled, X tile walk, 5120 pitch, 
0x0144c000 start)
+         FENCE END 0: 0x0194b000 (                                   
0x0194b000 end)
+       FENCE START 1: 0x0e4eb09d ( enabled, X tile walk, 5120 pitch, 
0x0e4eb000 start)
+         FENCE END 1: 0x0e9ea000 (                                   
0x0e9ea000 end)
+       FENCE START 2: 0x086e909d ( enabled, X tile walk, 5120 pitch, 
0x086e9000 start)
+         FENCE END 2: 0x08be8000 (                                   
0x08be8000 end)
+       FENCE START 3: 0x064ab09d ( enabled, X tile walk, 5120 pitch, 
0x064ab000 start)
+         FENCE END 3: 0x069aa000 (                                   
0x069aa000 end)
+       FENCE START 4: 0x0d39e09d ( enabled, X tile walk, 5120 pitch, 
0x0d39e000 start)
+         FENCE END 4: 0x0d89d000 (                                   
0x0d89d000 end)
+       FENCE START 5: 0x04f5d09d ( enabled, X tile walk, 5120 pitch, 
0x04f5d000 start)
+         FENCE END 5: 0x04f84000 (                                   
0x04f84000 end)
+       FENCE START 6: 0x048f109d ( enabled, X tile walk, 5120 pitch, 
0x048f1000 start)
+         FENCE END 6: 0x04918000 (                                   
0x04918000 end)
+       FENCE START 7: 0x0491d09d ( enabled, X tile walk, 5120 pitch, 
0x0491d000 start)
+         FENCE END 7: 0x04944000 (                                   
0x04944000 end)
+       FENCE START 8: 0x0dc8300d ( enabled, X tile walk,  512 pitch, 
0x0dc83000 start)
+         FENCE END 8: 0x0dc85000 (                                   
0x0dc85000 end)
+       FENCE START 9: 0x0dc1e00d ( enabled, X tile walk,  512 pitch, 
0x0dc1e000 start)
+         FENCE END 9: 0x0dc20000 (                                   
0x0dc20000 end)
+      FENCE START 10: 0x0dc2101d ( enabled, X tile walk, 1024 pitch, 
0x0dc21000 start)
+        FENCE END 10: 0x0dc26000 (                                   
0x0dc26000 end)
       FENCE START 11: 0x00000000 (disabled, X tile walk,  128 pitch, 
0x00000000 start)
         FENCE END 11: 0x00000000 (                                   
0x00000000 end)
       FENCE START 12: 0x00000000 (disabled, X tile walk,  128 pitch, 
0x00000000 start)
blackbox:~# 


(when I suspend the machine after the not working resume again, it usually 
comes up nicely after that resume).

Is there anything unexpected in the register dumps?

Many thanks,
Rainer

Am Saturday, 24. September 2011 schrieb Keith Packard:
> On Fri, 23 Sep 2011 21:05:37 +0200, Rainer Dorsch <ml at bokomoko.de> wrote:
> > Are there any other data I could gather to figure out what is going
> > wrong?
> 
> Oh, have we gotten register dumps from a working vs non-working resume?
> 
>         git://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools
> 
> Let's hope there's some difference...



-- 
Rainer Dorsch
http://bokomoko.de/



More information about the Intel-gfx mailing list