drm/radeon/kms: dynamically allocate power state space
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 2 Feb 2011 23:42:03 +0000 (18:42 -0500)
committerDave Airlie <airlied@redhat.com>
Thu, 3 Feb 2011 23:46:35 +0000 (09:46 +1000)
We previously used a static array, but some new systems
had more states then we had array space, so dynamically
allocate space based on the number of states in the vbios.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=33851

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found