commit | 0975b16274bad1f0bd5c5fd6ab759c5a9ee11949 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexdeucher@gmail.com> | Wed Feb 02 18:42:03 2011 -0500 |
committer | Dave Airlie <airlied@redhat.com> | Fri Feb 04 09:46:35 2011 +1000 |
tree | 522e6af52e285c3616976709f868aa07e38c8cbe | |
parent | 87364760de5d631390c478fcbac8db1b926e0adf [diff] |
drm/radeon/kms: dynamically allocate power state space 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>