drm/radeon/kms: add dpm support for evergreen (v4)
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: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -65,4 +65,24 @@
|
||||
#define RV740_SMC_INT_VECTOR_START 0xffc0
|
||||
#define RV740_SMC_INT_VECTOR_SIZE 0x0040
|
||||
|
||||
#define CEDAR_SMC_UCODE_START 0x0100
|
||||
#define CEDAR_SMC_UCODE_SIZE 0x5d50
|
||||
#define CEDAR_SMC_INT_VECTOR_START 0xffc0
|
||||
#define CEDAR_SMC_INT_VECTOR_SIZE 0x0040
|
||||
|
||||
#define REDWOOD_SMC_UCODE_START 0x0100
|
||||
#define REDWOOD_SMC_UCODE_SIZE 0x5f0a
|
||||
#define REDWOOD_SMC_INT_VECTOR_START 0xffc0
|
||||
#define REDWOOD_SMC_INT_VECTOR_SIZE 0x0040
|
||||
|
||||
#define JUNIPER_SMC_UCODE_START 0x0100
|
||||
#define JUNIPER_SMC_UCODE_SIZE 0x5f1f
|
||||
#define JUNIPER_SMC_INT_VECTOR_START 0xffc0
|
||||
#define JUNIPER_SMC_INT_VECTOR_SIZE 0x0040
|
||||
|
||||
#define CYPRESS_SMC_UCODE_START 0x0100
|
||||
#define CYPRESS_SMC_UCODE_SIZE 0x61f7
|
||||
#define CYPRESS_SMC_INT_VECTOR_START 0xffc0
|
||||
#define CYPRESS_SMC_INT_VECTOR_SIZE 0x0040
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user