diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-04-23 17:57:27 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-05-18 04:21:12 -0400 |
commit | 49e02b7306cb7e01965fe5f41ba0f80085142f6e (patch) | |
tree | 6faaa8069fae9b4768d727274df94c2a5298b1b2 /drivers/gpu/drm/radeon/evergreen_reg.h | |
parent | 58e21dff53b9063563e7bb5f5a795ab2d8f61dda (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen_reg.h')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen_reg.h b/drivers/gpu/drm/radeon/evergreen_reg.h index 9dba6d97d9b7..93aab2ebd9d0 100644 --- a/drivers/gpu/drm/radeon/evergreen_reg.h +++ b/drivers/gpu/drm/radeon/evergreen_reg.h | |||
@@ -166,6 +166,7 @@ | |||
166 | /* CRTC blocks at 0x6df0, 0x79f0, 0x105f0, 0x111f0, 0x11df0, 0x129f0 */ | 166 | /* CRTC blocks at 0x6df0, 0x79f0, 0x105f0, 0x111f0, 0x11df0, 0x129f0 */ |
167 | #define EVERGREEN_CRTC_CONTROL 0x6e70 | 167 | #define EVERGREEN_CRTC_CONTROL 0x6e70 |
168 | # define EVERGREEN_CRTC_MASTER_EN (1 << 0) | 168 | # define EVERGREEN_CRTC_MASTER_EN (1 << 0) |
169 | # define EVERGREEN_CRTC_DISP_READ_REQUEST_DISABLE (1 << 24) | ||
169 | #define EVERGREEN_CRTC_STATUS 0x6e8c | 170 | #define EVERGREEN_CRTC_STATUS 0x6e8c |
170 | #define EVERGREEN_CRTC_UPDATE_LOCK 0x6ed4 | 171 | #define EVERGREEN_CRTC_UPDATE_LOCK 0x6ed4 |
171 | 172 | ||