drm/radeon/kms: add atom helper functions for dpm (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Jun 2013 14:50:34 +0000 (10:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 14:49:19 +0000 (10:49 -0400)
commitae5b0abbb6f7478688ac2846b82c9dcc17718daa
tree973bbd0ec1ae6f5d7e0f8e22b32eb204aadb6159
parent2948f5e6c211eccd58b81c15a410d9f3d9cda657
drm/radeon/kms: add atom helper functions for dpm (v3)

dpm needs access to atombios data and command tables
for setup and calculation of a number of parameters.

v2: endian fix
v3: fix mc reg table bug

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_atombios.c
drivers/gpu/drm/radeon/radeon_mode.h