radeon pm bug?
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,
Signature · 1 line
Sylvain
Quoted 5 lines · Sylvain BERTRAND
Hi,
In
radeon_atombios.cfile,radeon_atombios_parse_power_table_6function, the power state is selected using the state array index:
Quoted 7 lines
power_state= (unionpplib_power_state*)&state_array->states[i];The state array has variable sized states which size should be computed as said in the
atombios.hfile, definition ofATOM_PPLIB_STATE_V2struct.Bug?
Yeah, I looks like a bug. I'll fix it up.
Alex
Quoted 9 lines
regards,
--
Sylvain
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel