drm/radeon/kms/pm: switch to dynamically allocating clock mode array
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Nov 2011 14:09:43 +0000 (10:09 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 11 Nov 2011 14:16:05 +0000 (14:16 +0000)
commit8f3f1c9a22a6420e28c2d3eff59b832893bc8efc
treefff750d9ccf699b3607ca473791c9e5820e1a7c5
parentbbe26ffe9ffd231de7cf88c4361f1939858e8594
drm/radeon/kms/pm: switch to dynamically allocating clock mode array

On newer chips the number of clock modes per power state varies.

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