imx8M nano - how to disable gpu?

cancel
Showing results for 
Search instead for 
Did you mean: 

imx8M nano - how to disable gpu?

54 Views
miguel_deprado
Contributor I

Hi there!

 

I'm measuring the power consumption and I get the same values whether I run the app on the CPU or the GPU. I think that as soon as I run something, the whole SoC gets clocked. Is there a software way to disable or unclock the GPU while I dont use it?

 

Best regards

0 Kudos
5 Replies

47 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Miguel,

In menu configuration enable the following module for the GPU driver:
CONFIG_MXC_GPU_VIV is a configuration option for GPU driver. In the menuconfig
this option is available under Device Drivers > MXC support drivers > MXC Vivante
GPU support > MXC Vivante GPU support.
On the screen displayed, select Configure the kernel, select Device Drivers > MXC
support drivers > MXC Vivante GPU support > MXC Vivante GPU support, and then
exit. When the next screen appears, select the following options to enable or disable the GPU
driver:
• Package list > imx-gpu-viv
• This package provides proprietary binary libraries, and test code built from the GPU
for framebuffer

 

Regards

 

0 Kudos

38 Views
miguel_deprado
Contributor I

thanks for the reply,

I dont quite understand where this config menu is. Is it while configuring the OS kernel before flashing it?

I have the board already flashed by an external company. Is there a command line way to disable the GPU from the terminal?

Regards

0 Kudos

36 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Sorry no, There is no way to disable the GPU, this is from kernel configuration before the compilation.

 

0 Kudos

34 Views
miguel_deprado
Contributor I

Ok, thanks!

Given my current situation, is there another way to save energy while we only use the CPU and not the GPU?

 

Thanks!

0 Kudos

31 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

You can view the power consumption appnote:

https://www.nxp.com/docs/en/application-note/AN12778.pdf

 

Regards

 

0 Kudos