drm/radeon/kms/pm: rework power management
Add two new sysfs attributes: - dynpm - power_state Echoing 0/1 to dynpm disables/enables dynamic power management. The driver scales the sclk dynamically based on the number of queued fences. dynpm only scales sclk dynamically in single head mode. Echoing x.y to power_state selects a static power state (x) and clock mode (y). This allows you to statically select a power state and clock mode. Selecting a static clock mode will disable dynpm. Signed-off-by:Alex Deucher <alexdeucher@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
Showing
- drivers/gpu/drm/radeon/r100.c 42 additions, 24 deletionsdrivers/gpu/drm/radeon/r100.c
- drivers/gpu/drm/radeon/r600.c 42 additions, 27 deletionsdrivers/gpu/drm/radeon/r600.c
- drivers/gpu/drm/radeon/radeon.h 5 additions, 2 deletionsdrivers/gpu/drm/radeon/radeon.h
- drivers/gpu/drm/radeon/radeon_asic.h 2 additions, 2 deletionsdrivers/gpu/drm/radeon/radeon_asic.h
- drivers/gpu/drm/radeon/radeon_pm.c 138 additions, 1 deletiondrivers/gpu/drm/radeon/radeon_pm.c
Loading
Please register or sign in to comment