MangoHud
MangoHud copied to clipboard
Fix panthor drm driver
Added codes to support panthor drm driver introduce to kernel newer than 6.10. work on rk3588 with MaliG610 right now.
- why
get_gpu_time_panthorexists? it's just a copy ofget_gpu_timeget_gpu_time_panfrostexists because it needs two values to calculate usage, but it's not the case with panthor - i think it's better to rename
get_gpu_clock_panfrosttoget_gpu_clock_maliand addmali_gpu_clock_fdinfo_keyvariable ingpu_fdinfo.hand makeget_gpu_clock_maliuse it to avoid duplicate code
otherwise everything good
These commits can be squashed