This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to get Mali GPU's frequency

FYI

Parents
  • Hi there,

    On linux (possibly true for android) you may be able to see the current clock at /sys/class/misc/mali0/device/clock and dvfs setting at /sys/class/misc/mali0/device/dvfs, but only if the kernel has been built with the relevant support, so I would not expect this information to be available on a production device. It is probably possible to make these available by rebuilding the kernel and mali kernel driver with the required options, but this is non trivial. Also just grepping through the kernel repo usually is enough to let you know the max clock frequency.

    What device/OS are you working with?

    Thanks,

    Chris

Reply
  • Hi there,

    On linux (possibly true for android) you may be able to see the current clock at /sys/class/misc/mali0/device/clock and dvfs setting at /sys/class/misc/mali0/device/dvfs, but only if the kernel has been built with the relevant support, so I would not expect this information to be available on a production device. It is probably possible to make these available by rebuilding the kernel and mali kernel driver with the required options, but this is non trivial. Also just grepping through the kernel repo usually is enough to let you know the max clock frequency.

    What device/OS are you working with?

    Thanks,

    Chris

Children