Files
DroidDeck/tools/tests
The412Banner 06be2c5fe8 fix(hud): GPU clock and load without root on Adreno 8xx
Adreno 8xx phones (OnePlus 13, Adreno 830) showed no GPU clock and only
the partial Vulkan-timing GPU load, where kgsl sysfs is blocked:

- The cycle-counter job read the A6xx/A7xx registers. On A8xx
  CP_ALWAYS_ON_COUNTER is 0x8e7, not 0x980 (gen8_reg.h, Mesa a6xx.xml),
  RBBM countable 0 is NEVER_COUNT (cycles are countable 1, Mesa
  a8xx_perfcntrs.xml), and CP protection leaves 0x000-0x3a3 readable
  (gen8_0_0_protected_regs). The layout is now picked from the KGSL chip
  id (top byte 0x44 on every A8xx); unknown later generations read nothing.
- Every gen8 GPU runs the hardware scheduler, which never writes the
  memstore ringbuffer stamps; the GMU writes each context's own entry
  (gen8_hwsched_hfi.c send_context_pointers). Where the ringbuffer
  entries are all 0 the reader now watches the contexts that submit work
  (rescanned every 200 samples, at most 64).
- The HUD diagnostics report says why each no-root GPU reader works or
  not, prints "none" instead of "null" for missing values, and labels the
  per-core CPU numbers as a clock estimate when /proc/stat is unreadable.

Kernel facts checked in the OnePlus SM8750 kgsl source
(LineageOS/android_kernel_oneplus_sm8750-modules @e05c031c).
2026-11-01 22:44:00 +00:00
..
2026-10-13 21:27:42 -04:00
2026-10-13 21:27:42 -04:00
2026-10-13 21:27:42 -04:00
2026-10-13 21:27:42 -04:00
2026-10-13 21:27:42 -04:00
2026-10-13 21:27:42 -04:00
2026-10-13 21:27:42 -04:00
2026-10-13 21:27:42 -04:00
2026-10-13 21:27:42 -04:00