Mailinglist Archive: radeonhd (426 mails)
| < Previous | Next > |
Re: [radeonhd] [PATCH] PM patches: logic fix, feature, cleaning, memory downclocking
- From: Rafał Miłecki <zajec5@xxxxxxxxx>
- Date: Tue, 26 May 2009 09:26:59 +0200
- Message-id: <b170af450905260026y7468a92dr82c891be1392dfd3@xxxxxxxxxxxxxx>
2009/5/26 David C. Rankin, J.D.,P.E. <drankinatty@xxxxxxxxxxxxxxxxxx>:
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@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
| < Previous | Next > |