]> git.karo-electronics.de Git - linux-beck.git/commit
drm/radeon/kms/pm: add additional asic callbacks
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 23 Apr 2010 21:57:27 +0000 (17:57 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:21:12 +0000 (18:21 +1000)
commit49e02b7306cb7e01965fe5f41ba0f80085142f6e
tree6faaa8069fae9b4768d727274df94c2a5298b1b2
parent58e21dff53b9063563e7bb5f5a795ab2d8f61dda
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>
12 files changed:
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/evergreen_reg.h
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r100d.h
drivers/gpu/drm/radeon/r500_reg.h
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/rs600.c
drivers/gpu/drm/radeon/rs600d.h
drivers/gpu/drm/radeon/rv770.c