drm/radeon/dpm: add pre/post_set_power_state callback (BTC)
This properly implemented dynamic state adjustment by using a working copy of the requested and current power states. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -88,7 +88,10 @@ struct evergreen_power_info {
|
||||
struct at ats[2];
|
||||
/* smc offsets */
|
||||
u16 mc_reg_table_start;
|
||||
struct rv7xx_ps hw_ps;
|
||||
struct radeon_ps current_rps;
|
||||
struct rv7xx_ps current_ps;
|
||||
struct radeon_ps requested_rps;
|
||||
struct rv7xx_ps requested_ps;
|
||||
};
|
||||
|
||||
#define CYPRESS_HASI_DFLT 400000
|
||||
|
Reference in New Issue
Block a user