Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This page describes settings for the DVFS-driver, which is used by the Trizeps VII to switch between operating Points.

DVFS is controlled through the registry:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\dvfs]

Key

Type

Description

Dll

STRING

„dvfs.dll“

WorkInterval

DWORD

Work-Thread interval speed in ms. This defines how often the requests should be processed

SoftLoadTracking

Softload will check the current processing/idle time during every WorkInterval and increase if load ia higher than HighThreshold and decrease to the lower operating point if load lower than LowThreshold.
iMX@1000MHz and iMX6@800MHz is the current processor-skew (wether you have a 1GHz or 800MHz processor). It is not the current operating point. Example:

 [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DVFS\Strategies\SoftLoadTracking]
        "Dll" = "softloadstrategy.dll"
        "Priority" = dword:40
    IF BSP_DVFS_SLOWREDUCTION
    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DVFS\Strategies\SoftLoadTracking\iMX6@1000MHz]
        ; Increase if > HighThreshold
        ; Decrease if < LowThreshold
        ; 996MHz
        "Opp0HighThreshold" = dword:64    ;100%
        "Opp0LowThreshold" = dword:A    ;10%
        ; 792MHz
        "Opp1HighThreshold" = dword:1E    ;30%
        "Opp1LowThreshold" = dword:5    ;5%
        ; 396MHz
        "Opp2HighThreshold" = dword:1E    ;30%
        "Opp2LowThreshold" = dword:5    ;5%
        ; 198MHz
        "Opp3HighThreshold" = dword:1E    ;30%
        "Opp3LowThreshold" = dword:0    ;0%


    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DVFS\Strategies\SoftLoadTracking\iMX6@800MHz]
        ; 792MHz
        "Opp0HighThreshold" = dword:64    ;100%
        "Opp0LowThreshold" = dword:A    ;10%
        ; 396MHz
        "Opp1HighThreshold" = dword:1E    ;30%
        "Opp1LowThreshold" = dword:5    ;5%       
        ; 198MHz
        "Opp2HighThreshold" = dword:1E    ;30%
        "Opp2LowThreshold" = dword:0    ;0%       
    ENDIF

HardLoadTracking

HardLoadTracking uses a special unit of the i.MX6-processor which triggers internal events and should be able to detect processor-load without software-intervention/calculations. Does not work as well as SoftLoadTracking.

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DVFS\Strategies\HardLoadTracking]

UserStrategy

User-Strategy is a DLL which may be used to hook an own power-strategy.

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DVFS\Strategies\UserStrategy]
        "Dll" = "userstrategy.dll"

ThermalStrategy

ThermalStrategy is used to reduce the operating-point, if the processor-temperature is getting higher than AlarmTemperature.

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DVFS\Strategies\TermalStrategy]
        "Dll" = "termalstrategy.dll"
        "Priority" = dword:20
    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DVFS\Strategies\TermalStrategy\Config]
        "AlarmTemperature" = dword:64
         ;Measure Period 1sec
        "MeasureFreq" = dword:3E8

See Also

  • No labels