• Alex Deucher's avatar
    drm/radeon/kms: add dpm support for evergreen (v4) · dc50ba7f
    Alex Deucher authored
    This adds dpm support for evergreen asics.  This includes:
    - clockgating
    - dynamic engine clock scaling
    - dynamic memory clock scaling
    - dynamic voltage scaling
    - dynamic pcie gen1/gen2 switching (requires additional acpi support)
    
    Set radeon.dpm=1 to enable.
    
    v2: reduce stack usage, rename ulv struct
    v3: fix thermal interrupt check notices by Jerome
    v4: fix state enable
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    dc50ba7f
radeon_pm.c 39.7 KB