This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to disable "Active Power Management(SGX) feature" for TI SGX Android release 04.04.00.01?

Other Parts Discussed in Thread: UKERNEL

Hi,

I am working on a product using OMAP3630 with Gingerbread rowboat 2.3.4. I believe we are using “Android release 04.04.00.01” since I find a file named “ANDROID_RN_4_04_00_01” under our source code tree hardware/ti/sgx/. In the file it said the release does not support “Active Power Management(SGX)”. But in the SGX info I got from our product, I find “SUPPORT_ACTIVE_POWER_MANAGEMENT” is defined in our build. Is it normal? I try to undefine it by changing “$(eval $(call TunableBothConfigC,SUPPORT_ACTIVE_POWER_MANAGEMENT,1))” to $(eval $(call TunableBothConfigC,SUPPORT_ACTIVE_POWER_MANAGEMENT,)) in  “core.mk” . But when boot with the SGX I got wrong message “PVR_K: (FAIL) SGXInit: Mismatch in client-side and KM driver build options; extra options present in client-side driver: (0x8000). Please check sgx_options.h”. What is “client-side” driver and how can I disable “Active Power Management(SGX)”?

Here is the SGX info I got from out product:

.... Hardware core designer: 0, HW core revision: 1.2.5

.... Hardware core ID: 112, name: SGX 520/530

.... SGX microkernel DDK version: 1.7.17.4352

.... SGX microkernel software core ID: SGX 530, revision: 10205

SGX microkernel build options

.... DEBUG: disabled

.... PDUMP: disabled

.... PVRSRV_USSE_EDM_STATUS_DEBUG: disabled

.... SUPPORT_HW_RECOVERY: enabled

.... PVR_SECURE_HANDLES: enabled

.... SGX_BYPASS_SYSTEM_CACHE: disabled

.... SGX_DMS_AGE_ENABLE: disabled

.... SGX_FAST_DPM_INIT: disabled

.... SGX_FEATURE_WRITEBACK_DCU: disabled

.... SGX_FEATURE_MP: disabled

.... SGX_FEATURE_MP_CORE_COUNT: 1

.... SGX_FEATURE_MULTITHREADED_UKERNEL: disabled

.... SGX_FEATURE_OVERLAPPED_SPM: disabled

.... SGX_FEATURE_SYSTEM_CACHE: disabled

.... SGX_SUPPORT_HWPROFILING: disabled

.... SUPPORT_ACTIVE_POWER_MANAGEMENT: enabled

.... SUPPORT_DISPLAYCONTROLLER_TILING: disabled

.... SUPPORT_PERCONTEXT_PB: enabled

.... SUPPORT_SGX_HWPERF: enabled

.... SUPPORT_SGX_MMU_DUMMY_PAGE: disabled

.... SUPPORT_SGX_PRIORITY_SCHEDULING: enabled

.... USE_SUPPORT_NO_TA3D_OVERLAP: disabled

 

Brs,

Gavin

  • Hi Gavin,

               The Active Power Management support is present in the release by default. You are observing the error by disabling the Active Power Management feature because there is a dependency on the prebuilt SGX binaries (where this feature is enabled). Could you please let us know the reason you want it to be disabled? It is recommended feature for optimal performance.

    Regards,

    Aditya

       

  • Hi Aditya,

    Since in  “ANDROID_RN_4_04_00_01”, we find it said the release does not support “Active Power Management(SGX)”. As you know, we meet “User requested SGX debug info” or “HWRecoveryResetSGX: SGX Hardware Recovery triggered” and UI hang, so we are thinking maybe the issue caused by enable “Active Power Management(SGX)”. Could you pls confirm that “ANDROID_RN_4_04_00_01” does support  “Active Power Management(SGX)”?

    BRs,

    Gavin

  • Hi Gavin,

         Active Power Management feature has been subsequently added and functional in the latest releases. The H/W recovery you observe may not be related to it.

    Regards,

    Aditya

    Kindly click the verify answer button on this post if it answered your question.

  • Hi Aditya,

    What is the latest releases version you mean? Is  “ANDROID_RN_4_04_00_01” the latest releases?

    BRs,

    Gavin

  • Hi Gavin,

             Active power management is enabled in your current release. We need to update release document to reflect the same, thanks for pointing out.

    Regards,

    Aditya

     

    Kindly click the verify answer button on this post if it answered your question.