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 nightskyz,

    Some devices have a DVFS table in the /sys/ mali class, which lets you see all valid possible frequencies. You can then in theory change the governor, disable DVFS, and force the frequency to each of the values in the table, and test your app accordingly.

    This is not Mali specific however, and down to the vendor to implement and expose, so different devices may or may not have this available to the user.

    An example: On my Nexus 10 device

    # cat /sys/devices/platform/mali.0/clock

    Current sclk_g3d[G3D_BLK] = 450Mhz

    Possible settings : 533, 450, 400, 350, 266, 160, 100Mhz

    I hope that helps,

    Kind Regards,

    Michael McGeagh

Reply
  • Hi nightskyz,

    Some devices have a DVFS table in the /sys/ mali class, which lets you see all valid possible frequencies. You can then in theory change the governor, disable DVFS, and force the frequency to each of the values in the table, and test your app accordingly.

    This is not Mali specific however, and down to the vendor to implement and expose, so different devices may or may not have this available to the user.

    An example: On my Nexus 10 device

    # cat /sys/devices/platform/mali.0/clock

    Current sclk_g3d[G3D_BLK] = 450Mhz

    Possible settings : 533, 450, 400, 350, 266, 160, 100Mhz

    I hope that helps,

    Kind Regards,

    Michael McGeagh

Children