imx8M nano - how to disable gpu?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8M nano - how to disable gpu?

1,850件の閲覧回数
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 返答(返信)

1,843件の閲覧回数
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 件の賞賛
返信

1,834件の閲覧回数
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 件の賞賛
返信

1,832件の閲覧回数
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 件の賞賛
返信

1,830件の閲覧回数
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 件の賞賛
返信

1,827件の閲覧回数
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 件の賞賛
返信