This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SGX HW Recovery Reset - AM3354

Hi Guys,

I get the error below on our custom board - based on the EVM.

I've gone through all the notes, forums and code - I can't see why/where/how this error is being triggered and are very much stuck in moving forward with my debugging.

Could anybody please give me a couple of pointers. I need to understand why this error is being triggered.

I get this error as soon as our android APK loads; and only half the screen is being rendered.

If I click on a button for example, the back ground image is fully rendered, the error is raised and the for ground of the application is only partially rendered.

It seems like an android / SurfaceFlinger issue more than a driver issue?

We've used the standard V4 SGX and made minor adjustments to the Android SDK 4.2.2

Any guidance and recommendations will be appreciated.

The error:

root@android:/ # [  270.161102] PVR_K: HWRecoveryResetSGX: SGX Hardware Recovery triggered
[  270.168029] PVR_K: SGX debug (SGX_DDK_Android sgxddk MAIN@956079)
[  270.174468] PVR_K: (P0) EUR_CR_CORE_ID:          01120000
[  270.180175] PVR_K: (P0) EUR_CR_CORE_REVISION:    00010205
[  270.185882] PVR_K: (P0) EUR_CR_EVENT_STATUS:     20000000
[  270.191528] PVR_K: (P0) EUR_CR_EVENT_STATUS2:    00000008
[  270.197235] PVR_K: (P0) EUR_CR_BIF_CTRL:         00000000
[  270.202941] PVR_K: (P0) EUR_CR_BIF_INT_STAT:     00000000
[  270.208618] PVR_K: (P0) EUR_CR_BIF_FAULT:        00000000
[  270.214294] PVR_K: (P0) EUR_CR_BIF_MEM_REQ_STAT: 00000000
[  270.219970] PVR_K: (P0) EUR_CR_CLKGATECTL:       00222220
[  270.225677] PVR_K: (P0) EUR_CR_PDS_PC_BASE:      0030680C
[  270.231384] PVR_K: Flip Command Complete Data 0 for display device 1:
[  270.238159] PVR_K:   SRC 0: (Not in use)
[  270.242218] PVR_K:   SRC 1: (Not in use)
[  270.246276] PVR_K: Flip Command Complete Data 1 for display device 1:
[  270.253051] PVR_K:   SRC 0: (Not in use)
[  270.257080] PVR_K:   SRC 1: (Not in use)
[  270.261108] PVR_K:  Host Ctl flags= 00000006
[  270.265625] PVR_K: SGX Host control:
[  270.269409] PVR_K:   (HC-0) 0x00000001 0x00000000 0x00000000 0x00000001
[  270.276275] PVR_K:   (HC-10) 0x00000004 0x00000001 0x0000000A 0x00030D40
[  270.283264] PVR_K:   (HC-20) 0x00000003 0x00000001 0x00000001 0x00000000
[  270.290222] PVR_K:   (HC-30) 0x00000029 0x00000402 0xFE36B1B0 0x00000000
[  270.297210] PVR_K:   (HC-40) 0x00000000 0x00000000 0x9FC3FBFF 0xFFE9BFDF
[  270.304199] PVR_K: SGX TA/3D control:
[  270.308044] PVR_K:   (T3C-0) 0x0F003000 0x0F003120 0x0F002000 0x00000000
[  270.315032] PVR_K:   (T3C-10) 0x0F0C6680 0x00000001 0x00000002 0x00000001
[  270.322082] PVR_K:   (T3C-20) 0x0F00AEA0 0x00000000 0x00000000 0x00000000
[  270.329132] PVR_K:   (T3C-30) 0x00000000 0x00000000 0x00000000 0x00000000
[  270.336212] PVR_K:   (T3C-40) 0x00000000 0x00000000 0x00000000 0x00000000
[  270.343261] PVR_K:   (T3C-50) 0x00000000 0x00000000 0x00000000 0x00000000
[  270.350311] PVR_K:   (T3C-60) 0x00000000 0x00000000 0x00000000 0x0F00AEA0
[  270.357360] PVR_K:   (T3C-70) 0x00000000 0x00000000 0x0F00AEA0 0x00000000
[  270.364410] PVR_K:   (T3C-80) 0x00000000 0x0F0CF638 0x00000000 0x0F000000
[  270.371459] PVR_K:   (T3C-90) 0x8E0F9000 0x0F0AFB80 0x00000000 0x0F0D0840
[  270.378570] PVR_K:   (T3C-A0) 0x0F0BE6A0 0x0F0CF638 0x0F0D0840 0x00000000
[  270.385650] PVR_K:   (T3C-B0) 0x00000000 0x00000000 0x00000000 0x00000000
[  270.392669] PVR_K:   (T3C-C0) 0x00000000 0x00000000 0x0000000F 0x0000000F
[  270.399749] PVR_K:   (T3C-D0) 0x0F000000 0x8000B000 0x8004B000 0x0F004000
[  270.406829] PVR_K:   (T3C-E0) 0x0F00A420 0x0F00A740 0x0F08BD80 0x0F08BD80
[  270.413879] PVR_K:   (T3C-F0) 0x00000000 0x000000CA 0x000000CA 0x00000000
[  270.420928] PVR_K:   (T3C-100) 0x00000001 0x00000000 0x00000000 0x00000000
[  270.428070] PVR_K:   (T3C-110) 0x25F5E36D 0x8FAAD7BF 0x101284F8 0xE0F6F34C
[  270.435211] PVR_K: SGX Kernel CCB WO:0xEA RO:0xEA