drm/radeon/kms/pm: add additional asic callbacks
- pm_misc() - handles voltage, pcie lanes, and other non clock related power mode settings. Currently disabled. Needs further debugging - pm_prepare() - disables crtc mem requests right now. All memory clients need to be disabled when changing memory clocks. This function can be expanded to include disabling fb access as well. - pm_finish() - enable active memory clients. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:

committed by
Dave Airlie

parent
58e21dff53
commit
49e02b7306
@@ -815,6 +815,9 @@ struct radeon_asic {
|
||||
bool (*gui_idle)(struct radeon_device *rdev);
|
||||
void (*get_power_state)(struct radeon_device *rdev, enum radeon_pm_action action);
|
||||
void (*set_power_state)(struct radeon_device *rdev);
|
||||
void (*pm_misc)(struct radeon_device *rdev);
|
||||
void (*pm_prepare)(struct radeon_device *rdev);
|
||||
void (*pm_finish)(struct radeon_device *rdev);
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user