FYI
Hi Peter,
Thanks for reply. We are able to turn of DVFS for GPU. and seeing better performance. Now also want to check cache related settings of GPU. How can I check this?
Thanks,
Veeranna
There isn't really anything to check. It's an integral part of the GPU and automatically configured by the drivers at run-time.
Pete
Hi, veerannah
If possible, could I ask how did you vary the frequencies?
I just want to scale GPU frequencies to see performance differences.
Thanks in advance,
Woojung Myung
Hi,
In kernel code, there is a clock frequency table. We modified this table in accordance with our required value.Sorry I don't remember exact file name, if you search DVFS, GPU, clock keywords in kernel code you will get it.
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
# 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
Really appreciate of your answer
I will try it
Woojung
Dear Michael,
Thanks for your detailed answer
I will try it.
Thanks a lot,