MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

Fix panthor drm driver

Open pdapandapda opened this issue 4 months ago • 2 comments

Added codes to support panthor drm driver introduce to kernel newer than 6.10. work on rk3588 with MaliG610 right now.

pdapandapda avatar Aug 26 '25 08:08 pdapandapda

  1. why get_gpu_time_panthor exists? it's just a copy of get_gpu_time get_gpu_time_panfrost exists because it needs two values to calculate usage, but it's not the case with panthor
  2. i think it's better to rename get_gpu_clock_panfrost to get_gpu_clock_mali and add mali_gpu_clock_fdinfo_key variable in gpu_fdinfo.h and make get_gpu_clock_mali use it to avoid duplicate code

otherwise everything good

17314642 avatar Aug 26 '25 17:08 17314642

These commits can be squashed

flightlessmango avatar Aug 27 '25 12:08 flightlessmango