2009/5/26 David C. Rankin, J.D.,P.E.
Thank you. No how do I apply the patches to test? I have all of the 4 patches saved in my radeonhd build directory under a directory named "patches". So my git clone setup is:
~/archlinux/radeonhd (dir created with git cloone) ~/archlinux/radeonhd/patches (your 4 patches)
I'm ready to test. What parameters do I look at to know if it is having the desired effect, of do I just tape a thermometer to the palmrest on my laptop?
First patch prevents printing incorrect warning "ForceLowPowerMode disabled: could not determine default engine clock" in Xorg.0.log in case you use "ForceLowPowerMode" and don't use "LowPowerModeEngineClock". It's easy patch, nothing to regress. Second patch adds function RHDGetDefaultMemoryClock, but doesn't make any use of it yet. Third patch is just little simplifing code. Fourth patch finally adds something you may test. It tries downclocking your Memory by 50%. But ith's disabled by default. You need to apply this patch, then manually edit rhd_pm.c. If you want to test this, find "#if 0" in rhd_pm.c and change it to "#if 1" (it occures in two places in code). After restarting X just use "grep Memory /var/log/Xorg.0.log". How to apply patches? I suggest creating separated local branch: cd ~/archlinux/radeonhd/ git checkout -t -b downclocking origin/master git am ~/archlinux/radeonhd/patches/*patch [now edit rhd_pm.c] make? sudo make install? -- Rafał Miłecki -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org