R600/KMS: clock gating inconsistencies

Luca Tettamanti kronos.it at gmail.com
Tue Sep 29 07:40:49 PDT 2009


Hello,
while looking at the sources of r600/kms driver I noticed a possible
bug in the "dynclks" code path.
The kernel driver always executes DynamicClockGating ATOM table (via
radeon_atom_set_clock_gating); the DDX drivers (both of them) instead
execute EnableASIC_StaticPwrMgt while DynamicClockGating is executed
only for chip families < R600.
Can someone shed some light?
Bonus question: in atombios.h the comments indicate that
DynamicClockGating is used internally by ASIC_Init, while
EnableASIC_StaticPwrMgt should supposedly be used only by BIOS (at
power on?)... is there some documentation about how the ATOM table
should be used?

Luca


More information about the xorg-driver-ati mailing list