Dears;
I am debugging IMX8M Mini solution, using android NXP_IMX-Android-11.0.02.4.0 SDK version, currently found in the debugging process: If you cannot enter hibernation by pressing the power key, it will be stuck in the suspend function of GPU (the following code), resulting in the entire hibernation process failing to be executed. Please help confirm the reason? Also, please ask: IMX8MM or IMX8MN
Are there any restrictions when hibernating? Thank you!
The code for the GPU part is as follows:
vendor/nxp-opensource/kernel_imx/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c
/* Power off the GPU. */
status = gckGALDEVICE_Suspend(device, gcvPOWER_OFF);
#if gcdENABLE_VG
if (i == gcvCORE_VG)
{
gcmkONERROR(gckVGHARDWARE_QueryPowerManagementState(vgHardware,
¤tState));
}
else
#endif
{
gcmkONERROR(gckHARDWARE_QueryPowerState(hardware, ¤tState));
}
/* Store state. */
Device->statesStored[i] = currentState;
#if gcdENABLE_VG
if (i == gcvCORE_VG)
{
gcmkONERROR(gckVGHARDWARE_SetPowerState(vgHardware, State));
}
else
#endif
{
gcmkONERROR(gckHARDWARE_SetPowerState(hardware, State));
}
Hi @jack_huang1,