AnsweredAssumed Answered

GPU STATE DUMP(DMA appears to be stuck at this address)

Question asked by If Zhao on Jul 16, 2016
Latest reply on Jul 18, 2016 by If Zhao

01:06:42GPU[0](ChipModel=0x2000 ChipRevision=0x5108):

01:06:43**************************

01:06:43***   GPU STATE DUMP   ***

01:06:43**************************

01:06:43  axi      = 0x00000023

01:06:43  idle     = 0x7FFFFFF2

01:06:43    FE not idle

01:06:43    PE not idle

01:06:43    SH not idle

01:06:43  DMA appears to be stuck at this address:

01:06:43    0x06E3A030

01:06:43  dmaLow   = 0x00000000

01:06:43  dmaHigh  = 0x00000000

01:06:43set_voltage: uv 1275000, min 725000, max 1300000

01:06:43reg is 0000+++

01:06:43set_voltage: uv 1275000, min 725000, max 1450000

01:06:43set reg1 ++++++

01:06:43reg is 0000+++

01:06:43set_voltage: uv 1275000, min 725000, max 1300000

01:06:43reg is 0000+++

01:06:43  dmaState = 0x00000904

01:06:43    command state       = 4 (PAR_ADR1_ST)

01:06:43    command DMA state   = 1 (CMD_START_ST)

01:06:43    command fetch state = 2 (FET_VALID_ST)

01:06:43    DMA request state   = 0 (REQ_IDLE_ST)

01:06:43    cal state           = 0 (CAL_IDLE_ST)

01:06:43    VE request state    = 0 (VER_IDLE_ST)

01:06:43  Debug registers of pipe[0]:

01:06:43    RA debug registers:

01:06:43      [0x00] 0x00000000

01:06:43      [0x01] 0x00000000

01:06:43      [0x02] 0x00000000

01:06:43      [0x03] 0x00000000

01:06:43      [0x04] 0x0BDF0000

01:06:43      [0x05] 0x5174A800

01:06:43      [0x06] 0x898A8000

01:06:43      [0x07] 0x00000000

01:06:43      [0x08] 0x00000000

01:06:43      [0x09] 0x00000000

01:06:43      [0x0A] 0x00000000

01:06:43      [0x0B] 0x00000000

01:06:43      [0x0C] 0x12344321

01:06:43      [0x0D] 0x12344321

01:06:43      [0x0E] 0x12344321

01:06:43      [0x0F] 0x12344321

01:06:43      signature = 0x12344321 (1 read attempt(s))

01:06:43    TX debug registers:

01:06:43      [0x00] 0x00000000

01:06:43      [0x01] 0x00000000

01:06:43      [0x02] 0x00000000

01:06:43      [0x03] 0x00000000

01:06:43      [0x04] 0x00000000

01:06:43      [0x05] 0x00000000

01:06:43      [0x06] 0x00000000

01:06:43      [0x07] 0x00000000

01:06:43      [0x08] 0x00000000

01:06:43      [0x09] 0x00000000

01:06:43      [0x0A] 0x00000000

01:06:43      [0x0B] 0x00000000

01:06:43      [0x0C] 0x00000000

01:06:43      [0x0D] 0x00000000

01:06:43      [0x0E] 0x00000000

01:06:43      [0x0F] 0x00000000

01:06:43      failed to obtain the signature (read 0x00000000).

01:06:43    FE debug registers:

01:06:43      [0x00] 0x06E3A250

01:06:43      [0x01] 0x6AEE3000

01:06:43      [0x02] 0x6AEE3000

01:06:43      [0x03] 0x00000256

01:06:43      [0x04] 0x0B783FFC

01:06:43      [0x05] 0x0000000C

01:06:43      [0x06] 0x50509571

01:06:43      [0x07] 0x00007445

01:06:43      [0x08] 0x0000000C

01:06:43      [0x09] 0x00000000

01:06:43      [0x0A] 0x00000000

01:06:43      [0x0B] 0x00000000

01:06:43      [0x0C] 0x00000000

01:06:43      [0x0D] 0xA1750004

01:06:43      [0x0E] 0x000000A0

01:06:43      [0x0F] 0xBABEF00D

01:06:43      signature = 0xBABEF00D (1 read attempt(s))

01:06:43    PE debug registers:

01:06:43      [0x00] 0x00000000

01:06:43      [0x01] 0x00000000

01:06:43      [0x02] 0x00000000

01:06:43      [0x03] 0x00000000

01:06:43      [0x04] 0xA0000000

01:06:43      [0x05] 0xABC00000

01:06:43      [0x06] 0xBC000000

01:06:43      [0x07] 0xCDE00000

01:06:43      [0x08] 0xD04041C0

01:06:43      [0x09] 0x484041C0

01:06:43      [0x0A] 0x0D862086

01:06:43      [0x0B] 0x00000000

01:06:43      [0x0C] 0xBABEF00D

01:06:43      [0x0D] 0xBABEF00D

01:06:43      [0x0E] 0xBABEF00D

01:06:43      [0x0F] 0xBABEF00D

01:06:43      signature = 0xBABEF00D (1 read attempt(s))

01:06:43    DE debug registers:

01:06:43      [0x00] 0x00000000

01:06:43      [0x01] 0x00000000

01:06:43      [0x02] 0x00000000

01:06:43      [0x03] 0x00000000

01:06:43      [0x04] 0x00000000

01:06:43      [0x05] 0x00000000

01:06:43      [0x06] 0x00000000

01:06:43      [0x07] 0x00000000

01:06:43      [0x08] 0x00000000

01:06:43      [0x09] 0x00000000

01:06:43      [0x0A] 0x00000000

01:06:43      [0x0B] 0x00000000

01:06:43      [0x0C] 0x00000000

01:06:43      [0x0D] 0x00000000

01:06:43      [0x0E] 0x00000000

01:06:43      [0x0F] 0x00000000

01:06:43      failed to obtain the signature (read 0x00000000).

01:06:43    SH debug registers:

01:06:43      [0x00] 0x0037EACB

01:06:43      [0x01] 0x595F000B

01:06:43      [0x02] 0x0001FF04

01:06:43      [0x03] 0x00080AA9

01:06:43      [0x04] 0x00000000

01:06:43      [0x05] 0x0032C2D0

01:06:43      [0x06] 0x0032A2CE

01:06:43      [0x07] 0x66471B5A

01:06:43      [0x08] 0x02AD88B6

01:06:43      [0x09] 0x07B71C85

01:06:43      [0x0A] 0x00720B30

01:06:43      [0x0B] 0x00257B6D

01:06:43      [0x0C] 0x00000000

01:06:43      [0x0D] 0x0AF05473

01:06:43      [0x0E] 0x15EAA9F8

01:06:43      [0x0F] 0xDEADBEEF

01:06:43      signature = 0xDEADBEEF (1 read attempt(s))

01:06:43    PA debug registers:

01:06:43      [0x00] 0x800003FF

01:06:43      [0x01] 0x642800FF

01:06:43      [0x02] 0x00000871

01:06:43      [0x03] 0x00000000

01:06:43      [0x04] 0x00000000

01:06:43      [0x05] 0x00000000

01:06:43      [0x06] 0x00000000

01:06:43      [0x07] 0x00000000

01:06:43      [0x08] 0x00000000

01:06:43      [0x09] 0x0000AAAA

01:06:43      [0x0A] 0x0000AAAA

01:06:43      [0x0B] 0x0000AAAA

01:06:43      [0x0C] 0x0000AAAA

01:06:43      [0x0D] 0x0000AAAA

01:06:43      [0x0E] 0x0000AAAA

01:06:43      [0x0F] 0x0000AAAA

01:06:43      signature = 0x0000AAAA (1 read attempt(s))

01:06:43    SE debug registers:

01:06:43      [0x00] 0x00000003

01:06:43      [0x01] 0x00000003

01:06:43      [0x02] 0x00000003

01:06:43      [0x03] 0x00000003

01:06:43      [0x04] 0x00000003

01:06:43      [0x05] 0x00000003

01:06:43      [0x06] 0x00000003

01:06:43      [0x07] 0x00000003

01:06:43      [0x08] 0x00000003

01:06:43      [0x09] 0x00000003

01:06:43      [0x0A] 0x00000003

01:06:43      [0x0B] 0x00000003

01:06:43      [0x0C] 0x00000003

01:06:43      [0x0D] 0x00000003

01:06:43      [0x0E] 0x00000003

01:06:43      [0x0F] 0x00000003

01:06:43      failed to obtain the signature (read 0x00000003).

01:06:43    MC debug registers:

01:06:43      [0x00] 0x00000000

01:06:43      [0x01] 0x00000000

01:06:43      [0x02] 0x00000000

01:06:43      [0x03] 0x00000000

01:06:43      [0x04] 0x12345678

01:06:43      [0x05] 0x12345678

01:06:43      [0x06] 0x12345678

01:06:43      [0x07] 0x12345678

01:06:43      [0x08] 0x12345678

01:06:43      [0x09] 0x12345678

01:06:43      [0x0A] 0x12345678

01:06:43      [0x0B] 0x12345678

01:06:43      [0x0C] 0x12345678

01:06:43      [0x0D] 0x12345678

01:06:43      [0x0E] 0x12345678

01:06:43      [0x0F] 0x12345678

01:06:43      signature = 0x12345678 (1 read attempt(s))

01:06:43    HI debug registers:

01:06:43      [0x00] 0x00000000

01:06:43      [0x01] 0x00000000

01:06:43      [0x02] 0x00000000

01:06:43      [0x03] 0xAAAAAAAA

01:06:43      [0x04] 0xAAAAAAAA

01:06:43      [0x05] 0xAAAAAAAA

01:06:43      [0x06] 0xAAAAAAAA

01:06:43      [0x07] 0xAAAAAAAA

01:06:43      [0x08] 0xAAAAAAAA

01:06:43      [0x09] 0xAAAAAAAA

01:06:43      [0x0A] 0xAAAAAAAA

01:06:43      [0x0B] 0xAAAAAAAA

01:06:43      [0x0C] 0xAAAAAAAA

01:06:43      [0x0D] 0xAAAAAAAA

01:06:43      [0x0E] 0xAAAAAAAA

01:06:43      [0x0F] 0xAAAAAAAA

01:06:43      signature = 0xAAAAAAAA (1 read attempt(s))

01:06:43    Other Registers:

01:06:43      [0x0040] 0x1703229A

01:06:43      [0x0044] 0x0ECE030E

01:06:43      [0x004C] 0x0ECE030E

01:06:43      [0x0050] 0x01E8F826

01:06:43      [0x0054] 0x01E8F826

01:06:43      [0x0058] 0x1703229A

01:06:43      [0x005C] 0x046E5E34

01:06:43      [0x0060] 0x046E5E34

01:06:43      [0x043C] 0x00000000

01:06:43      [0x0440] 0x00000000

01:06:43      [0x0444] 0x00000000

01:06:43      [0x0414] 0x3C000000

01:06:43  Debug registers of pipe[1]:

01:06:43    RA debug registers:

01:06:43      [0x00] 0x00000000

01:06:43      [0x01] 0x00000000

01:06:43      [0x02] 0x00000000

01:06:43      [0x03] 0x00000000

01:06:43      [0x04] 0x0BDF0000

01:06:43      [0x05] 0x5174A800

01:06:43      [0x06] 0x898A8000

01:06:43      [0x07] 0x00000000

01:06:43      [0x08] 0x00000000

01:06:43      [0x09] 0x00000000

01:06:43      [0x0A] 0x00000000

01:06:43      [0x0B] 0x00000000

01:06:43      [0x0C] 0x12344321

01:06:43      [0x0D] 0x12344321

01:06:43      [0x0E] 0x12344321

01:06:43      [0x0F] 0x12344321

01:06:43      signature = 0x12344321 (1 read attempt(s))

01:06:43    TX debug registers:

01:06:43      [0x00] 0x00000000

01:06:43      [0x01] 0x00000000

01:06:43      [0x02] 0x00000000

01:06:43      [0x03] 0x00000000

01:06:43      [0x04] 0x00000000

01:06:43      [0x05] 0x00000000

01:06:43      [0x06] 0x00000000

01:06:43      [0x07] 0x00000000

01:06:43      [0x08] 0x00000000

01:06:43      [0x09] 0x00000000

01:06:43      [0x0A] 0x00000000

01:06:43      [0x0B] 0x00000000

01:06:43      [0x0C] 0x00000000

01:06:43      [0x0D] 0x00000000

01:06:43      [0x0E] 0x00000000

01:06:43      [0x0F] 0x00000000

01:06:43      failed to obtain the signature (read 0x00000000).

01:06:43    FE debug registers:

01:06:43      [0x00] 0x06E3A250

01:06:43      [0x01] 0x6AEE3000

01:06:43      [0x02] 0x6AEE3000

01:06:43      [0x03] 0x00000256

01:06:43      [0x04] 0x0B783FFC

01:06:43      [0x05] 0x0000000C

01:06:43      [0x06] 0x50509571

01:06:43      [0x07] 0x00007445

01:06:43      [0x08] 0x0000000C

01:06:43      [0x09] 0x00000000

01:06:43      [0x0A] 0x00000000

01:06:43      [0x0B] 0x00000000

01:06:43      [0x0C] 0x00000000

01:06:43      [0x0D] 0xA1C4BC02

01:06:43      [0x0E] 0x000000A1

01:06:43      [0x0F] 0xBABEF00D

01:06:43      signature = 0xBABEF00D (1 read attempt(s))

01:06:43    PE debug registers:

01:06:43      [0x00] 0x00000000

01:06:43      [0x01] 0x00000000

01:06:43      [0x02] 0x00000000

01:06:43      [0x03] 0x00000000

01:06:43      [0x04] 0xA0000000

01:06:43      [0x05] 0xABC00000

01:06:43      [0x06] 0xBC000000

01:06:43      [0x07] 0xCDE00000

01:06:43      [0x08] 0xD04041C0

01:06:43      [0x09] 0x484041C0

01:06:43      [0x0A] 0x0D862086

01:06:43      [0x0B] 0x00000000

01:06:43      [0x0C] 0xBABEF00D

01:06:43      [0x0D] 0xBABEF00D

01:06:43      [0x0E] 0xBABEF00D

01:06:43      [0x0F] 0xBABEF00D

01:06:43      signature = 0xBABEF00D (1 read attempt(s))

01:06:43    DE debug registers:

01:06:43      [0x00] 0x00000000

01:06:43      [0x01] 0x00000000

01:06:43      [0x02] 0x00000000

01:06:43      [0x03] 0x00000000

01:06:43      [0x04] 0x00000000

01:06:43      [0x05] 0x00000000

01:06:43      [0x06] 0x00000000

01:06:43      [0x07] 0x00000000

01:06:43      [0x08] 0x00000000

01:06:43      [0x09] 0x00000000

01:06:43      [0x0A] 0x00000000

01:06:43      [0x0B] 0x00000000

01:06:43      [0x0C] 0x00000000

01:06:43      [0x0D] 0x00000000

01:06:43      [0x0E] 0x00000000

01:06:43      [0x0F] 0x00000000

01:06:43      failed to obtain the signature (read 0x00000000).

01:06:43    SH debug registers:

01:06:43      [0x00] 0x0037EACB

01:06:43      [0x01] 0x595F000B

01:06:43      [0x02] 0x0001FF04

01:06:43      [0x03] 0x00080AA9

01:06:43      [0x04] 0x00000000

01:06:43      [0x05] 0x0032C2D0

01:06:43      [0x06] 0x0032A2CE

01:06:43      [0x07] 0x66471B5A

01:06:43      [0x08] 0x02AD88B6

01:06:43      [0x09] 0x07B71C85

01:06:43      [0x0A] 0x00720B30

01:06:43      [0x0B] 0x00257B6D

01:06:43      [0x0C] 0x00000000

01:06:43      [0x0D] 0x0AF05473

01:06:43      [0x0E] 0x15EAA9F8

01:06:43      [0x0F] 0xDEADBEEF

01:06:43      signature = 0xDEADBEEF (1 read attempt(s))

01:06:43    PA debug registers:

01:06:43      [0x00] 0x800003FF

01:06:43      [0x01] 0x642800FF

01:06:43      [0x02] 0x00000871

01:06:43      [0x03] 0x00000000

01:06:43      [0x04] 0x00000000

01:06:43      [0x05] 0x00000000

01:06:43      [0x06] 0x00000000

01:06:43      [0x07] 0x00000000

01:06:43      [0x08] 0x00000000

01:06:43      [0x09] 0x0000AAAA

01:06:43      [0x0A] 0x0000AAAA

01:06:43      [0x0B] 0x0000AAAA

01:06:43      [0x0C] 0x0000AAAA

01:06:43      [0x0D] 0x0000AAAA

01:06:43      [0x0E] 0x0000AAAA

01:06:43      [0x0F] 0x0000AAAA

01:06:43      signature = 0x0000AAAA (1 read attempt(s))

01:06:43    SE debug registers:

01:06:43      [0x00] 0x00000003

01:06:43      [0x01] 0x00000003

01:06:43      [0x02] 0x00000003

01:06:43      [0x03] 0x00000003

01:06:43      [0x04] 0x00000003

01:06:43      [0x05] 0x00000003

01:06:43      [0x06] 0x00000003

01:06:43      [0x07] 0x00000003

01:06:43      [0x08] 0x00000003

01:06:43      [0x09] 0x00000003

01:06:43      [0x0A] 0x00000003

01:06:43      [0x0B] 0x00000003

01:06:43      [0x0C] 0x00000003

01:06:43      [0x0D] 0x00000003

01:06:43      [0x0E] 0x00000003

01:06:43      [0x0F] 0x00000003

01:06:44      failed to obtain the signature (read 0x00000003).

01:06:44    MC debug registers:

01:06:44      [0x00] 0x00000000

01:06:44      [0x01] 0x00000000

01:06:44      [0x02] 0x00000000

01:06:44      [0x03] 0x00000000

01:06:44      [0x04] 0x12345678

01:06:44      [0x05] 0x12345678

01:06:44      [0x06] 0x12345678

01:06:44      [0x07] 0x12345678

01:06:44      [0x08] 0x12345678

01:06:44      [0x09] 0x12345678

01:06:44      [0x0A] 0x12345678

01:06:44      [0x0B] 0x12345678

01:06:44      [0x0C] 0x12345678

01:06:44      [0x0D] 0x12345678

01:06:44      [0x0E] 0x12345678

01:06:44      [0x0F] 0x12345678

01:06:44      signature = 0x12345678 (1 read attempt(s))

01:06:44    HI debug registers:

01:06:44      [0x00] 0x00000000

01:06:44      [0x01] 0x00000000

01:06:44      [0x02] 0x00000000

01:06:44      [0x03] 0xAAAAAAAA

01:06:44      [0x04] 0xAAAAAAAA

01:06:44      [0x05] 0xAAAAAAAA

01:06:44      [0x06] 0xAAAAAAAA

01:06:44      [0x07] 0xAAAAAAAA

01:06:44      [0x08] 0xAAAAAAAA

01:06:44      [0x09] 0xAAAAAAAA

01:06:44      [0x0A] 0xAAAAAAAA

01:06:44      [0x0B] 0xAAAAAAAA

01:06:44      [0x0C] 0xAAAAAAAA

01:06:44      [0x0D] 0xAAAAAAAA

01:06:44      [0x0E] 0xAAAAAAAA

01:06:44      [0x0F] 0xAAAAAAAA

01:06:44      signature = 0xAAAAAAAA (1 read attempt(s))

01:06:44    Other Registers:

01:06:44      [0x0040] 0x16B4E252

01:06:44      [0x0044] 0x0ECD91F0

01:06:44      [0x004C] 0x0ECD91F0

01:06:44      [0x0050] 0x01E8E9F7

01:06:44      [0x0054] 0x01E8E9F7

01:06:44      [0x0058] 0x16B4E252

01:06:44      [0x005C] 0x04601D72

01:06:44      [0x0060] 0x04601D72

01:06:44      [0x043C] 0x00000000

01:06:44      [0x0440] 0x00000000

01:06:44      [0x0444] 0x00000000

01:06:44      [0x0414] 0x3C000000

01:06:44[<c0056144>] (unwind_backtrace+0x0/0x138) from [<c04cf088>] (gckOS_DumpCallStack+0x8/0x10)

01:06:44[<c04cf088>] (gckOS_DumpCallStack+0x8/0x10) from [<c04e1d6c>] (gckHARDWARE_DumpGPUState+0x4b8/0x6a0)

01:06:44[<c04e1d6c>] (gckHARDWARE_DumpGPUState+0x4b8/0x6a0) from [<c04ce028>] (gckOS_Broadcast+0x38/0xe8)

01:06:44[<c04ce028>] (gckOS_Broadcast+0x38/0xe8) from [<c04d1c14>] (gckKERNEL_Dispatch+0x1020/0x1228)

01:06:44[<c04d1c14>] (gckKERNEL_Dispatch+0x1020/0x1228) from [<c04ca3e0>] (drv_ioctl+0x120/0x270)

01:06:44[<c04ca3e0>] (drv_ioctl+0x120/0x270) from [<c0144d2c>] (do_vfs_ioctl+0x7c/0x290)

01:06:44[<c0144d2c>] (do_vfs_ioctl+0x7c/0x290) from [<c0144f78>] (sys_ioctl+0x38/0x5c)

01:06:44[<c0144f78>] (sys_ioctl+0x38/0x5c) from [<c004e9c0>] (ret_fast_syscall+0x0/0x30)

 

以上是在IMX6dual平台上(Android 4.3的系统,linux 2.6),安装安兔兔进行3D测试的时候,画面卡住,然后出现这样的log。参考了社区内的相关博文,去调整DMA和fbmem、GPU电压(PMU_REG_CORE[REG1_TARG])均没有效果。

试着打开CONFIG_MX6_VPU_352M,也没有收获。不知道各位有什么建议??十分感谢~

The above logging is got while doing 3d graphic test with AnTuTu app. The video halts,the picture stays still, but the system is alive as the console is still available. And after referring to several similar blog in the community, I tried the DMA/fbmem/GPU voltage supply, but failed. Also I open the config CONFIG_MX6_VPU_352M, it didn't work for me.

Could you everybody kindly give me some advice? Or some solutions to optimize the GPU ? Many thanks ~~

Outcomes