imx8M nano - how to disable gpu?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8M nano - how to disable gpu?

2,327 次查看
miguel_deprado
Contributor II

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 项奖励
回复
5 回复数

2,320 次查看
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 项奖励
回复

2,311 次查看
miguel_deprado
Contributor II

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 项奖励
回复

2,309 次查看
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 项奖励
回复

2,307 次查看
miguel_deprado
Contributor II

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 项奖励
回复

2,304 次查看
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 项奖励
回复