[PATCH] drm/radeon/kms: dynamically allocate power state space

Alex Deucher alexdeucher at gmail.com
Wed Feb 2 16:08:46 PST 2011


On Wed, Feb 2, 2011 at 6:47 PM, Martin Peres <martin.peres at free.fr> wrote:
> Le 03/02/2011 00:42, Alex Deucher a écrit :
>>
>> 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 at gmail.com>
>> Cc: stable at kernel.org
>
> More than 8? Seems like a lot!
>
> Any idea why AMD did that? nVidia has 4 power states (we call them perf
> levels) at max.

Different states for different things, you have the boot/default
state, special states for video playback, battery states, performance
states, etc. with different characteristics.

Alex


More information about the dri-devel mailing list