drm/radeon/kms: add dpm support for rv6xx (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Apr 2013 18:04:10 +0000 (14:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 14:50:08 +0000 (10:50 -0400)
commit4a6369e9935e392402d4ccb67f5cddac953e8d3c
treec3c9b8585776d91f59bba876e99d56c32de0ad78
parent9d67006e6ebc6c5bc553d04b8c2dabea168e5e5b
drm/radeon/kms: add dpm support for rv6xx (v3)

This adds dpm support for rv6xx 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: remove duplicate line
v3: fix thermal interrupt check noticed by Jerome

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
16 files changed:
drivers/gpu/drm/radeon/Makefile
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600_dpm.c
drivers/gpu/drm/radeon/r600_dpm.h
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_atombios.c
drivers/gpu/drm/radeon/radeon_irq_kms.c
drivers/gpu/drm/radeon/radeon_mode.h
drivers/gpu/drm/radeon/radeon_pm.c
drivers/gpu/drm/radeon/rs780_dpm.c
drivers/gpu/drm/radeon/rv6xx_dpm.c [new file with mode: 0644]
drivers/gpu/drm/radeon/rv6xx_dpm.h [new file with mode: 0644]
drivers/gpu/drm/radeon/rv6xxd.h [new file with mode: 0644]