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?
regards,
On Tue, Apr 30, 2013 at 7:22 PM, Sylvain BERTRAND sylware@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@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
dri-devel@lists.freedesktop.org