powerManagement of GPU for i.MX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

powerManagement of GPU for i.MX6

1,161 Views
宗標廖
Contributor V

Hello Community

There is parameter named powerManagement for GPU driver of i.MX6.

Could you give me a description about the PM function of i.MX6 GPU?

And in the GPU driver gc_hal_kernel_probe.c(linux-imx-4.1.15/drivers/mxc/gpu-viv/hal/os/linux/kernel)),

the default value for powerManagement is -1.What does -1 mean.  My understand is 0 for disable and 1 for enable.I cannot understand -1.

Thank you!

ZongbiaoLiao

0 Kudos
1 Reply

582 Views
joanxie
NXP TechSupport
NXP TechSupport

refer to the user guide, PM funtion depends on other options when you want to enable or disable it.

"The GPU profiling mode requires the GPU Power Management (PM) functions to be disabled to get the
precise profiling data. When kernel module “galcore” is inserted with gpuProfiler=1, the PM functions in the driver
are not disabled. The PM functions are disabled when VIV_PROFILE is set to 1, 2, or 3, and the application starts.
The PM functions are enabled when VIV_PROFILE is set to 0, and the application starts again."

0 Kudos