Hi
I was trying to do some OpenCL programming with the PVR GPU.
I am getting some errors as follow:
467769] PVR_K:(Error): 244: DevicesWatchdogThread: Device status not OK!!!
[ 42.475191] PVR_K: 244: ------------[ PVR DBG: START (High) ]------------
[ 42.482073] PVR_K: 244: OS kernel info: Linux 5.4.74-g9574bba32a #1 SMP PREEMPT Fri Nov 19 16:07:52 CST 2021 aarch64
[ 42.492678] PVR_K: 244: DDK info: Rogue_DDK_Linux_WS rogueddk 1.10@5371573 (release) j721e_linux
[ 42.501537] PVR_K: 244: Time now: 00000000288859f
[ 42.506325] PVR_K: 244: Services State: OK
[ 42.510530] PVR_K: 244: Active connects: 424 (render_mng)
[ 42.516028] PVR_K: 244: ------[ Driver Info ]------
[ 42.520985] PVR_K: 244: UM info: 1.10 @ 5371573 (release) build options: 0x80000810
[ 42.528884] PVR_K: 244: KM info: 1.10 @ 5371573 (release) build options: 0x00000810
[ 42.536783] PVR_K: 244: FW info: 1.10 @ 5371573 (release) build options: 0x80000810
[ 42.544681] PVR_K: 244: Comparison of UM/KM components: MATCHING
[ 42.550756] PVR_K: 244: KM Arch: 64 Bit
[ 42.554666] PVR_K: 244: UM Connected Clients: 64 Bit
[ 42.559728] PVR_K: 244: ------[ RGX summary ]------
[ 42.564736] PVR_K: 244: RGX BVNC: 22.104.208.318
[ 42.569433] PVR_K: 244: RGX Device State: Active
[ 42.574124] PVR_K: 244: RGX Power State: ON
[ 42.578382] PVR_K: 244: BIF0 - OK
[ 42.581774] PVR_K: 244: RGX FW State: NOT RESPONDING - KCCB stalled (HWRState 0x00000001: HWR OK; )
[ 42.590885] PVR_K: 244: RGX FW Power State: RGXFWIF_POW_ON (APM disabled: 0 ok, 0 denied, 0 non-idle, 0 other, 0 total. Latency: 100 ms)
[ 42.603205] PVR_K: 244: RGX DVFS: 0 frequency changes. Current frequency: 749 MHz (sampled at 9e30d9048)
[ 42.612749] PVR_K: 244: RGX FW OS 0 State: 0x00000003 (Active: Yes, Freelists: Ok, Grow Request Pending: No)
[ 42.622640] PVR_K: 244: RGX FW OS 1 State: 0x00000002 (Active: No, Freelists: Ok, Grow Request Pending: No)
[ 42.632445] PVR_K: 244: ------[ RGX registers ]------
[ 42.637599] PVR_K: 244: RGX Register Base Address (Linear): 0x00000000de65e379
[ 42.645079] PVR_K: 244: RGX Register Base Address (Physical): 0x4E20000000
[ 42.652028] PVR_K: 244: CORE_ID : 0x0000000008470000
[ 42.658970] PVR_K: 244: CORE_REVISION : 0x00D0013E
[ 42.665219] PVR_K: 244: DESIGNER_REV_FIELD1 : 0x00000000
[ 42.671471] PVR_K: 244: DESIGNER_REV_FIELD2 : 0x00000000
[ 42.677721] PVR_K: 244: CHANGESET_NUMBER : 0x0000000000000000
[ 42.684690] PVR_K: 244: CLK_CTRL : 0x0AAAAA002A2AA9AA
[ 42.691698] PVR_K: 244: CLK_STATUS : 0x000000000070007C
[ 42.698645] PVR_K: 244: CLK_CTRL2 : 0x0000000000000000
[ 42.705588] PVR_K: 244: CLK_STATUS2 : 0x0000000000000000
[ 42.712531] PVR_K: 244: EVENT_STATUS : 0x00004490
[ 42.718780] PVR_K: 244: TIMER : 0x000000000727A955
[ 42.725728] PVR_K: 244: BIF_FAULT_BANK0_MMU_STATUS : 0x00000000
[ 42.731979] PVR_K: 244: BIF_FAULT_BANK0_REQ_STATUS : 0x0000000000000000
[ 42.738923] PVR_K: 244: BIF_FAULT_BANK1_MMU_STATUS : 0x00000000
[ 42.745172] PVR_K: 244: BIF_FAULT_BANK1_REQ_STATUS : 0x0000000000000000
[ 42.752115] PVR_K: 244: BIF_MMU_STATUS : 0x00000000
[ 42.758366] PVR_K: 244: BIF_MMU_ENTRY : 0x00000000
[ 42.764646] PVR_K: 244: BIF_MMU_ENTRY_STATUS : 0x0000000000000000
[ 42.771609] PVR_K: 244: BIF_STATUS_MMU : 0x00000000
[ 42.777861] PVR_K: 244: BIF_READS_EXT_STATUS : 0x00000000
[ 42.784113] PVR_K: 244: BIF_READS_INT_STATUS : 0x00000000
[ 42.790362] PVR_K: 244: BIFPM_STATUS_MMU : 0x00000000
[ 42.796612] PVR_K: 244: BIFPM_READS_EXT_STATUS : 0x00000000
[ 42.802861] PVR_K: 244: BIFPM_READS_INT_STATUS : 0x00000001
[ 42.809135] PVR_K: 244: Warning: BRN44871 is present
[ 42.814227] PVR_K: 244: BIF_CAT_BASE_INDEX : 0x0000000000000101
[ 42.821174] PVR_K: 244: BIF_CAT_BASE0 : 0x0000000000000000
[ 42.828118] PVR_K: 244: BIF_CAT_BASE1 : 0x00000008F627A000
[ 42.835061] PVR_K: 244: BIF_CAT_BASE2 : 0x0000000000000000
[ 42.842004] PVR_K: 244: BIF_CAT_BASE3 : 0x0000000000000000
[ 42.848949] PVR_K: 244: BIF_CAT_BASE4 : 0x0000000000000000
[ 42.855905] PVR_K: 244: BIF_CAT_BASE5 : 0x0000000000000000
[ 42.862851] PVR_K: 244: BIF_CAT_BASE6 : 0x0000000000000000
[ 42.869798] PVR_K: 244: BIF_CAT_BASE7 : 0x0000000000000000
[ 42.876742] PVR_K: 244: BIF_CTRL_INVAL : 0x00000000
[ 42.882992] PVR_K: 244: BIF_CTRL : 0x000000C0
[ 42.889266] PVR_K: 244: BIF_PM_CAT_BASE_VCE0 : 0x00000008EDE95001
[ 42.896225] PVR_K: 244: BIF_PM_CAT_BASE_TE0 : 0x00000008EDEA0001
[ 42.903170] PVR_K: 244: BIF_PM_CAT_BASE_ALIST0 : 0x00000008EDEA5001
[ 42.910113] PVR_K: 244: BIF_PM_CAT_BASE_VCE1 : 0x0000000000000000
[ 42.917057] PVR_K: 244: BIF_PM_CAT_BASE_TE1 : 0x0000000000000000
[ 42.924001] PVR_K: 244: BIF_PM_CAT_BASE_ALIST1 : 0x0000000000000000
[ 42.930944] PVR_K: 244: PERF_TA_PHASE : 0x00000002
[ 42.937219] PVR_K: 244: PERF_TA_CYCLE : 0x8F43F710
[ 42.943559] PVR_K: 244: PERF_3D_PHASE : 0x00000009
[ 42.949814] PVR_K: 244: PERF_3D_CYCLE : 0x002EA37F
[ 42.956064] PVR_K: 244: PERF_TA_OR_3D_CYCLE : 0x904A49A1
[ 42.962314] PVR_K: 244: PERF_TA_AND_3D_CYCLE : 0x00000000
[ 42.968567] PVR_K: 244: PERF_COMPUTE_PHASE : 0x00000000
[ 42.974818] PVR_K: 244: PERF_COMPUTE_CYCLE : 0x00000000
[ 42.981068] PVR_K: 244: PM_PARTIAL_RENDER_ENABLE : 0x00000000
[ 42.987319] PVR_K: 244: ISP_RENDER : 0x00000003
[ 42.993568] PVR_K: 244: TLA_STATUS : 0x0000000000000000
[ 43.000511] PVR_K: 244: MCU_FENCE : 0x0000008000000000
[ 43.007455] PVR_K: 244: VDM_CONTEXT_STORE_STATUS : 0x00000002
[ 43.013732] PVR_K: 244: VDM_CONTEXT_STORE_TASK0 : 0x0000220522001004
[ 43.020695] PVR_K: 244: VDM_CONTEXT_STORE_TASK1 : 0x0000000000002240
[ 43.027639] PVR_K: 244: VDM_CONTEXT_STORE_TASK2 : 0x0000200000000420
[ 43.034582] PVR_K: 244: VDM_CONTEXT_RESUME_TASK0 : 0x0000230520061004
[ 43.041526] PVR_K: 244: VDM_CONTEXT_RESUME_TASK1 : 0x0000000000002340
[ 43.048469] PVR_K: 244: VDM_CONTEXT_RESUME_TASK2 : 0x0000210000000420
[ 43.055413] PVR_K: 244: ISP_CTL : 0x0002B000
[ 43.061687] PVR_K: 244: ISP_STATUS : 0x00000003
[ 43.067996] PVR_K: 244: MTS_INTCTX : 0x00000000
[ 43.074248] PVR_K: 244: MTS_BGCTX : 0x00000001
[ 43.080499] PVR_K: 244: MTS_BGCTX_COUNTED_SCHEDULE : 0x00000001
[ 43.086749] PVR_K: 244: MTS_SCHEDULE : 0x00000000
[ 43.092999] PVR_K: 244: MTS_GPU_INT_STATUS : 0x000044D0
[ 43.099248] PVR_K: 244: CDM_CONTEXT_STORE_STATUS : 0x00000000
[ 43.105498] PVR_K: 244: CDM_CONTEXT_PDS0 : 0x0000000000000000
[ 43.112442] PVR_K: 244: CDM_CONTEXT_PDS1 : 0x0000000000000000
[ 43.119385] PVR_K: 244: CDM_TERMINATE_PDS : 0x0000000000000000
[ 43.126328] PVR_K: 244: CDM_TERMINATE_PDS1 : 0x0000000000000000
[ 43.133272] PVR_K: 244: SIDEKICK_IDLE : 0x0000007E
[ 43.139546] PVR_K: 244: SLC_IDLE : 0x000000FF
[ 43.145810] PVR_K: 244: SLC_STATUS0 : 0x00000000
[ 43.152064] PVR_K: 244: SLC_STATUS1 : 0x0000000000000000
[ 43.159007] PVR_K: 244: SLC_CTRL_BYPASS : 0x01000000
[ 43.165257] PVR_K: 244: SLC_CTRL_MISC : 0x0000000000200003
[ 43.172204] PVR_K: 244: MIPS_ADDR_REMAP1_CONFIG1 : 0x1FC00001
[ 43.178477] PVR_K: 244: MIPS_ADDR_REMAP1_CONFIG2 : 0x00000008F62EF00C
[ 43.185724] PVR_K: 244: MIPS_ADDR_REMAP2_CONFIG1 : 0x1FC01001
[ 43.191986] PVR_K: 244: MIPS_ADDR_REMAP2_CONFIG2 : 0x00000008F62FE00C
[ 43.198929] PVR_K: 244: MIPS_ADDR_REMAP3_CONFIG1 : 0x1FC02001
[ 43.205179] PVR_K: 244: MIPS_ADDR_REMAP3_CONFIG2 : 0x00000008F62EE00C
[ 43.212121] PVR_K: 244: MIPS_ADDR_REMAP4_CONFIG1 : 0xF6314001
[ 43.218371] PVR_K: 244: MIPS_ADDR_REMAP4_CONFIG2 : 0x000000001FC0000E
[ 43.225315] PVR_K: 244: MIPS_ADDR_REMAP5_CONFIG1 : 0x00000001
[ 43.231565] PVR_K: 244: MIPS_ADDR_REMAP5_CONFIG2 : 0x00000008F62EF00C
[ 43.238508] PVR_K: 244: MIPS_WRAPPER_CONFIG : 0x000000000001CF40
[ 43.245453] PVR_K: 244: MIPS_EXCEPTION_STATUS : 0x00000022
[ 43.751808] PVR_K: 244: ---- [ MIPS internal state ] ----
[ 43.757308] PVR_K: 244: MIPS extra debug not available
[ 43.762530] PVR_K: 244: --------------------------------
[ 43.767916] PVR_K: 244: RGX Kernel CCB WO:0x14 RO:0x13
[ 43.773127] PVR_K: 244: RGX Firmware CCB WO:0x8 RO:0x8
[ 43.778338] PVR_K: 244: RGX Kernel CCB commands executed = 19
[ 43.784155] PVR_K: 244: Thread0: FW IRQ count = 20
[ 43.789017] PVR_K: 244: Last sampled IRQ count in LISR = 20
[ 43.794663] PVR_K: 244: FW OS config flags = 0x800127 (Ctx switch: TA; 3D; CDM; VDM CS INDEX mode; Medium CSW profile; Use extended; HWR EN; )
[ 43.807533] PVR_K: 244: Device System Power State: ON
[ 43.812726] PVR_K: 244: Debug log type: none
[ 43.817071] PVR_K: 244: RGX FW thread 0: Trace buffer not yet allocated
[ 43.823754] PVR_K: 244: ------[ Stalled FWCtxs ]------
[ 43.828969] PVR_K: 244: FWCtx 0xC00671A0 @ 0 (3D-P424-T461-render_mng) pending on FENCE_PR:
[ 43.837386] PVR_K: 244: Addr:0xc006a050 Value=0x00000001
[ 43.843030] PVR_K: 244: FWCtx 0xC00671A0 fenced command is of type 3D_PR
[ 43.849906] PVR_K: 244: ------[ Active Sync Checkpoints ]------
[ 43.855900] PVR_K: 244: - ID = 6, FWAddr = 0xc008e000, r1:e1:f0: es3-DoKickTA-0
[ 43.863364] PVR_K: 244: - ID = 5, FWAddr = 0xc008d000, r1:e1:f0: es3-DoKickTA-0
[ 43.870829] PVR_K: 244: - ID = 4, FWAddr = 0xc008c000, r1:e1:f0: update fence
[ 43.878123] PVR_K: 244: ------[ Pending Server Syncs ]------
[ 43.883875] ------[ Native Fence Sync: timelines ]------
[ 43.889190] foreign_sync: @0 ctx=1 refs=1
[ 43.893188] sw: RM_SWTimeline-to-render_mng-424 @0 cur=0
[ 43.898485] rogue-ta3d: @1 ctx=3 refs=2
[ 43.902307] @0: (+-) refs=6 fwaddr=0xc008c001 enqueue=1 status=Active 0-update fence
[ 43.910377] rogue-tq3d: @0 ctx=5 refs=1
[ 43.914200] QE-hikauto-render_mng-424: @4 ctx=6 refs=2
[ 43.919320] @3: (++) refs=1 fwaddr=0xc0089009 enqueue=1 status=Signalled 3-TQM
[ 43.926610] V3-hikauto-render_mng-424: @1 ctx=7 refs=2
[ 43.931732] @0: (+-) refs=2 fwaddr=0xc008d001 enqueue=1 status=Active 0-es3-DoKickTA-0
[ 43.940004] P3-hikauto-render_mng-424: @1 ctx=8 refs=2
[ 43.945125] @0: (+-) refs=2 fwaddr=0xc008e001 enqueue=1 status=Active 0-es3-DoKickTA-0
[ 43.953488] PVR_K: 244: ------[ Debug summary ]------
[ 43.958619] PVR_K: 244: BIF0 - OK
[ 43.962011] PVR_K: 244: RGX FW State: NOT RESPONDING - KCCB stalled (HWRState 0x00000001: HWR OK; )
[ 43.971122] PVR_K: 244: RGX FW Power State: RGXFWIF_POW_ON (APM disabled: 0 ok, 0 denied, 0 non-idle, 0 other, 0 total. Latency: 100 ms)
[ 43.983445] PVR_K: 244: RGX DVFS: 0 frequency changes. Current frequency: 749 MHz (sampled at 9e30d9048)
[ 43.992992] PVR_K: 244: RGX FW OS 0 State: 0x00000003 (Active: Yes, Freelists: Ok, Grow Request Pending: No)
[ 44.002884] PVR_K: 244: RGX FW OS 1 State: 0x00000002 (Active: No, Freelists: Ok, Grow Request Pending: No)
[ 44.012721] PVR_K: 244: ------[ Server Thread Summary ]------
[ 44.018556] PVR_K: 244: pvr_defer_free : Running
[ 44.023421] PVR_K: 244: Number of deferred cleanup items : 0
[ 44.029498] PVR_K: 244: pvr_device_wdg : Running
[ 44.034361] PVR_K: 244: pvr_cacheop : Running
[ 44.038966] PVR_K: 244: Configuration: QSZ: 16, UKT: -1, KDFT: 131072, KGFT: -1, LINESIZE: 64, PGSIZE: 4096, KDF: Yes, URBF: Yes, KGF: No, KRBF: Yes
[ 44.052757] PVR_K: 244: Pending deferred CacheOp entries : 0
[ 44.058858] PVR_K: 244: ------[ AppHint Settings ]------
[ 44.064297] PVR_K: 244: Build Vars
[ 44.067950] PVR_K: 244: HWRDebugDumpLimit: 0x00000001
[ 44.073420] PVR_K: 244: EnableTrustedDeviceAceConfig: N
[ 44.079063] PVR_K: 244: CleanupThreadPriority: 0x00000005
[ 44.084882] PVR_K: 244: CleanupThreadWeight: 0x00000000
[ 44.090524] PVR_K: 244: WatchdogThreadPriority: 0x00000000
[ 44.096428] PVR_K: 244: WatchdogThreadWeight: 0x00000000
[ 44.102159] PVR_K: 244: HWPerfClientBufferSize: 0x000c0000
[ 44.108062] PVR_K: 244: Module Params
[ 44.111971] PVR_K: 244: EnableSignatureChecks: N
[ 44.117008] PVR_K: 244: SignatureChecksBufSize: 0x00002000
[ 44.122911] PVR_K: 244: DisableClockGating: N
[ 44.127687] PVR_K: 244: BIFTilingMode: 0x00000004
[ 44.132836] PVR_K: 244: DisableDMOverlap: N
[ 44.137455] PVR_K: 244: EnableCDMKillingRandMode: N
[ 44.142753] PVR_K: 244: EnableFWContextSwitch: 0x00000007
[ 44.148568] PVR_K: 244: VDMContextSwitchMode: 0x00000000
[ 44.154297] PVR_K: 244: EnableRDPowerIsland: 0x00000002
[ 44.159940] PVR_K: 244: GeneralNon4KHeapPageSize: 0x00004000
[ 44.166017] PVR_K: 244: DriverMode: 0x7fffffff
[ 44.170879] PVR_K: 244: FirmwarePerf: 0x00000000
[ 44.175916] PVR_K: 244: FWContextSwitchProfile: 0x00000002
[ 44.181843] PVR_K: 244: HWPerfDisableCustomCounterFilter: N
[ 44.187898] PVR_K: 244: HWPerfFWBufSizeInKB: 0x00000800
[ 44.193545] PVR_K: 244: HWPerfHostBufSizeInKB: 0x00000800
[ 44.199361] PVR_K: 244: JonesDisableMask: 0x00000000
[ 44.204744] PVR_K: 244: NewFilteringMode: Y
[ 44.209347] PVR_K: 244: TruncateMode: 0x00000000
[ 44.214383] PVR_K: 244: UseMETAT1: 0x00000000
[ 44.219159] PVR_K: 244: EmuMaxFreq: 0x00000000
[ 44.224023] PVR_K: 244: GPIOValidationMode: 0x00000000
[ 44.229578] PVR_K: 244: RGXBVNC: (none)
[ 44.233834] PVR_K: 244: FWContextSwitchCrossDM: 0x00000000
[ 44.239739] PVR_K: 244: OSidRegion0Min: 0x00000000 0x04000000 0x10000000 0x18000000 0x20000000 0x28000000 0x30000000 0x38000000
[ 44.251623] PVR_K: 244: OSidRegion0Max: 0x3FFFFFFF 0x0FFFFFFF 0x17FFFFFF 0x1FFFFFFF 0x27FFFFFF 0x2FFFFFFF 0x37FFFFFF 0x3FFFFFFF
[ 44.263542] PVR_K: 244: OSidRegion1Min: 0x3F000000 0x3F000000 0x3F000000 0x3F000000 0x3F000000 0x3F000000 0x3F000000 0x3F000000
[ 44.275472] PVR_K: 244: OSidRegion1Max: 0x3FFFFFFF 0x3FFFFFFF 0x3FFFFFFF 0x3FFFFFFF 0x3FFFFFFF 0x3FFFFFFF 0x3FFFFFFF 0x3FFFFFFF
[ 44.287369] PVR_K: 244: HTBufferSizeInKB: 0x00000040
[ 44.292758] PVR_K: 244: FBCDCVersionOverride: 0x00000000
[ 44.298490] PVR_K: 244: Debugfs Params
[ 44.302488] PVR_K: 244: EnableHTBLogGroup: none
[ 44.307474] PVR_K: 244: HTBOperationMode: dropoldest
[ 44.312935] PVR_K: 244: EnableFTraceGPU: N
[ 44.317457] PVR_K: 244: HWPerfFWFilter: 0x0000000000000000
[ 44.323360] PVR_K: 244: HWPerfHostFilter: 0x00000000
[ 44.328744] PVR_K: 244: HWPerfClientFilter_Services: 0x00000000
[ 44.335080] PVR_K: 244: HWPerfClientFilter_EGL: 0x00000000
[ 44.340983] PVR_K: 244: HWPerfClientFilter_OpenGLES: 0x00000000
[ 44.347319] PVR_K: 244: HWPerfClientFilter_OpenCL: 0x00000000
[ 44.353482] PVR_K: 244: HWPerfClientFilter_OpenRL: 0x00000000
[ 44.359645] PVR_K: 244: HWPerfClientFilter_Vulkan: 0x00000000
[ 44.365807] PVR_K: 244: CacheOpConfig: 0x0000000d
[ 44.370930] PVR_K: 244: CacheOpGFThresholdSize: 0xffffffff
[ 44.376834] PVR_K: 244: CacheOpUMKMThresholdSize: 0xffffffff
[ 44.382941] PVR_K: 244: TimeCorrClock: mono
[ 44.387562] PVR_K: 244: Debugfs Params Device ID: 0
[ 44.392688] PVR_K: 244: AssertOnHWRTrigger: N
[ 44.397464] PVR_K: 244: AssertOutOfMemory: N
[ 44.402155] PVR_K: 244: CheckMList: N
[ 44.406237] PVR_K: 244: EnableHWR: Y
[ 44.410234] PVR_K: 244: EnableLogGroup: none
[ 44.414924] PVR_K: 244: FirmwareLogType: trace
[ 44.419786] PVR_K: 244: EnableAPM: 0x00000002
[ 44.424562] PVR_K: 244: DisableFEDLogging: N
[ 44.429279] PVR_K: 244: ZeroFreelist: N
[ 44.433657] PVR_K: 244: DustRequestInject: N
[ 44.438351] PVR_K: 244: DisablePDumpPanic: Y
[ 44.443041] PVR_K: 244: EnableFWPoisonOnFree: N
[ 44.447991] PVR_K: 244: FWPoisonOnFreeValue: 0x000000bd
[ 44.453635] PVR_K: 244: ------[ HTB Log state: Off ]------
[ 44.459195] PVR_K: 244: ------------[ PVR DBG: END ]------------
Could you help us analyze the error message, why such errors occur?
Thanks
Alex