radeon pm questions
Hi,
I have a few questions about radeon pm code:
----
In radeon_atombios.c, radeon_atombios_parse_power_table_6 function, power_state->v2.nonClockInfoIndex for non_clock_info of one state is ignored and replaced by the state index, referencing an iguana bug.
Is it still buggy from southern island and we must keep ignoring power_state->v2.nonClockInfoIndex for good and use the state index to reference the right state description in non clock array table?
----
----
The same does happen for the clock info index which can be out of range. Same treat as above?
----
----
In radeon_atombios.c, radeon_atombios_parse_pplib_clock_info function, code paths are selected based on DCE generation. The same happens in radeon_atombios_parse_pplib_non_clock_info function. Should it rather be the chip family? Or current powerplay code does deal only with the DCE block??
----
regards,
Signature · 1 line
Sylvain
Quoted 10 lines · Sylvain BERTRAND
Hi,
I have a few questions about radeon pm code:
----
Inradeon_atombios.c,radeon_atombios_parse_power_table_6function,power_state->v2.nonClockInfoIndexfornon_clock_infoof one state is ignored and replaced by the state index, referencing an iguana bug.
Quoted 4 lines
Is it still buggy from southern island and we must keep ignoring
power_state->v2.nonClockInfoIndexfor good and use the state index to reference the right state description in non clock array table?
nonClockInfoIndex isn't used and produces bogus tables. The index should be used.
Quoted 5 lines
----
----
The same does happen for the clock info index which can be out of range. Same treat as above?
Yes, although, at this point, it's mostly for safety. You shouldn't see it in practice.
Quoted 8 lines
----
----
Inradeon_atombios.c,radeon_atombios_parse_pplib_clock_infofunction, code paths are selected based on DCE generation. The same happens inradeon_atombios_parse_pplib_non_clock_infofunction. Should it rather be the chip family? Or current powerplay code does deal only with the DCE block??
It should be chip family. I just used the DCE check since it corresponds to the same relevant families. I'll fix that.
Alex
Quoted 10 lines
----
regards,
--
Sylvain
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel