• Lijo Lazar's avatar
    drm/amd/pm: Enable performance determinism on aldebaran · 6be64246
    Lijo Lazar authored
    Performance Determinism is a new mode in Aldebaran where PMFW tries to
    maintain sustained performance level. It can be enabled on a per-die
    basis on aldebaran. To guarantee that it remains within the power cap,
    a max GFX frequency needs to be specified in this mode. A new
    power_dpm_force_performance_level, "perf_determinism", is defined to enable
    this mode in amdgpu. The max frequency (in MHz) can be specified through
    pp_dpm_sclk. The mode will be disabled once any other performance level
    is chosen.
    
    Ex: To enable perf determinism at 900Mhz max gfx clock
    
    echo perf_determinism > /sys/bus/pci/devices/.../power_dpm_force_performance_level
    echo max 900 > /sys/bus/pci/devices/.../pp_dpm_sclk
    Signed-off-by: default avatarLijo Lazar <lijo.lazar@amd.com>
    Reviewed-by: default avatarKenneth Feng <kenneth.feng@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    6be64246
amdgpu_smu.c 70.3 KB