radeon pm bug?

Alex Deucher alexdeucher at gmail.com
Wed May 1 10:04:23 PDT 2013


On Tue, Apr 30, 2013 at 7:22 PM, Sylvain BERTRAND <sylware at legeek.net> wrote:
> Hi,
>
> In radeon_atombios.c file, radeon_atombios_parse_power_table_6
> function, the power state is selected using the state array index:
>
> power_state = (union pplib_power_state *)&state_array->states[i];
>
> The state array has variable sized states which size should be
> computed as said in the atombios.h file, definition of
> ATOM_PPLIB_STATE_V2 struct.
>
> Bug?

Yeah, I looks like a bug.  I'll fix it up.

Alex

>
> regards,
>
> --
> Sylvain
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list