From: Alex Deucher Date: Wed, 2 Feb 2011 23:42:03 +0000 (-0500) Subject: drm/radeon/kms: dynamically allocate power state space X-Git-Tag: v2.6.38-rc4~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0975b16274bad1f0bd5c5fd6ab759c5a9ee11949;p=pandora-kernel.git 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 Cc: stable@kernel.org Signed-off-by: Dave Airlie --- Reading git-diff-tree failed