ZHCAE45 June   2024 AM625 , AM67A , AM68A , AM69A , DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4AEN-Q1 , TDA4AH-Q1 , TDA4AL-Q1 , TDA4AP-Q1 , TDA4APE-Q1 , TDA4VL-Q1 , TDA4VM , TDA4VP-Q1 , TDA4VPE-Q1

 

  1.   1
  2.   摘要
  3.   商标
  4. 1引言
  5. 2图形应用程序的常见问题
    1. 2.1 系统或应用程序冻结
      1. 2.1.1 典型内核紧急日志
    2. 2.2 屏幕撕裂
    3. 2.3 屏幕上出现伪影或损坏
    4. 2.4 空白屏幕
    5. 2.5 低帧速率
    6. 2.6 GPU 驱动程序日志和硬件恢复
      1. 2.6.1 典型 GPU HWR 日志
  6. 3图形问题支持流程
    1. 3.1 提交初步描述
    2. 3.2 确定问题是否可在 TI EVM 上重现
    3. 3.3 提供跟进测试和日志
  7. 4用于调试 GPU 驱动程序的工具
    1. 4.1 Linux® DebugFS 中的驱动程序状态
    2. 4.2 驱动程序 AppHints
    3. 4.3 PVR 日志转储收集
    4. 4.4 将日志组添加到固件跟踪
    5. 4.5 在硬件恢复后禁用驱动程序
    6. 4.6 禁用自动加载 GPU 驱动程序
  8. 5集成打补丁后的 GPU 驱动程序
    1. 5.1 UM 库安装
    2. 5.2 KM 库安装
    3. 5.3 安装后步骤
  9. 6总结

典型 GPU HWR 日志

[  275.343261] PVR_K:  228: ------------[ PVR DBG: START (High) ]------------
[  275.350212] PVR_K:  228: OS kernel info: Linux 6.1.46-g5892b80d6b #1 SMP PREEMPT Wed Apr  3 19:34:28 UTC 2024 aarch64
[  275.360827] PVR_K:  228: DDK info: Rogue_DDK_Linux_WS rogueddk 23.2@6460340 (release) j721s2_linux
[  275.369798] PVR_K:  228: Time now: 275369792us
[  275.374260] PVR_K:  228: Services State: OK
[  275.378483] PVR_K:  228: Server Errors: 0
[  275.382800] PVR_K:  228: Connections Device ID:0(128) P1128-V1-T1153-VayaDriveConsol
[  275.390613] PVR_K:  228: ------[ Driver Info ]------
[  275.395699] PVR_K:  228: Comparison of UM/KM components: MATCHING
[  275.405345] PVR_K:  228: KM Arch: 64 Bit
[  275.410821] PVR_K:  228: Driver Mode: Native
[  275.415527] PVR_K:  228: UM Connected Clients: 64 Bit
[  275.420814] PVR_K:  228: UM info: 23.2 @  6460340 (release) build options: 0x80000810
[  275.428899] PVR_K:  228: KM info: 23.2 @  6460340 (release) build options: 0x00000810
[  275.437396] PVR_K:  228: Window system: wayland
[  275.442353] PVR_K:  228: ------[ Server Thread Summary ]------
...
[  275.481396] PVR_K:  228: ------[ RGX Device ID:0 Start ]------
[  275.487504] PVR_K:  228: ------[ RGX Info ]------
...
[  275.789271] PVR_K:  228: ------[ RGX registers ]------
...
[  276.648689] PVR_K:  228: ---- [ RISC-V internal state ] ----
...
[  276.759651] PVR_K:  228: ------[ RGX FW Trace Info ]------
...
[  276.777139] PVR_K:  228: ------[ Full CCB Status ]------
...
[  276.868040] PVR_K:  228: ------[ AppHint Settings ]------
...
[  276.940907] PVR_K:  228: ------[ Active Sync Checkpoints ]------
...
[  277.035347] PVR_K:  228: ------------[ PVR DBG: END ]------------
[  277.043511] ------------[ cut here ]------------
...
[  277.303180] ---[ end trace 0000000000000000 ]---