]> git.karo-electronics.de Git - linux-beck.git/commit
drm/radeon/kms: add dpm support for rv7xx (v4)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Jun 2013 04:11:19 +0000 (00:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:14:59 +0000 (19:14 -0400)
commit66229b200598a3b66b839d1759ff3f5b17ac5639
tree5bfb3d7ba630171afe67c9aeae007a1db03d22d3
parent4a6369e9935e392402d4ccb67f5cddac953e8d3c
drm/radeon/kms: add dpm support for rv7xx (v4)

This adds dpm support for rv7xx asics.  This includes:
- clockgating
- dynamic engine clock scaling
- dynamic memory clock scaling
- dynamic voltage scaling
- dynamic pcie gen1/gen2 switching

Set radeon.dpm=1 to enable.

v2: reduce stack usage
v3: fix 64 bit div
v4: fix state enable

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
18 files changed:
drivers/gpu/drm/radeon/Makefile
drivers/gpu/drm/radeon/ppsmc.h [new file with mode: 0644]
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600d.h
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/radeon_pm.c
drivers/gpu/drm/radeon/radeon_ucode.h
drivers/gpu/drm/radeon/rv730_dpm.c [new file with mode: 0644]
drivers/gpu/drm/radeon/rv730d.h [new file with mode: 0644]
drivers/gpu/drm/radeon/rv740_dpm.c [new file with mode: 0644]
drivers/gpu/drm/radeon/rv740d.h [new file with mode: 0644]
drivers/gpu/drm/radeon/rv770_dpm.c [new file with mode: 0644]
drivers/gpu/drm/radeon/rv770_dpm.h [new file with mode: 0644]
drivers/gpu/drm/radeon/rv770_smc.c [new file with mode: 0644]
drivers/gpu/drm/radeon/rv770_smc.h [new file with mode: 0644]
drivers/gpu/drm/radeon/rv770d.h