diff options
author | 2005-10-17 08:14:28 +0000 | |
---|---|---|
committer | 2005-10-17 08:14:28 +0000 | |
commit | 11e8cd7605bdae69c27f3b7fc0056b1424b784f0 (patch) | |
tree | 9d04c96b896eb133758746b8a3cb702d82b4f556 /sys-power/cpufreqd/files | |
parent | Marked stable on x86. Bug #109039. (diff) | |
download | historical-11e8cd7605bdae69c27f3b7fc0056b1424b784f0.tar.gz historical-11e8cd7605bdae69c27f3b7fc0056b1424b784f0.tar.bz2 historical-11e8cd7605bdae69c27f3b7fc0056b1424b784f0.zip |
Updated nvclock plug-in.
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'sys-power/cpufreqd/files')
-rw-r--r-- | sys-power/cpufreqd/files/cpufreqd-2.0.0-pre1-nv.patch | 28 | ||||
-rw-r--r-- | sys-power/cpufreqd/files/digest-cpufreqd-2.0.0_pre1-r1 | 2 |
2 files changed, 17 insertions, 13 deletions
diff --git a/sys-power/cpufreqd/files/cpufreqd-2.0.0-pre1-nv.patch b/sys-power/cpufreqd/files/cpufreqd-2.0.0-pre1-nv.patch index 3e8f36e02f45..ef077e3445ca 100644 --- a/sys-power/cpufreqd/files/cpufreqd-2.0.0-pre1-nv.patch +++ b/sys-power/cpufreqd/files/cpufreqd-2.0.0-pre1-nv.patch @@ -1,28 +1,30 @@ diff -urp cpufreqd-2.0.0-pre1/src/cpufreqd_nvclock.c cpufreqd-2.0.0-pre1-nv/src/cpufreqd_nvclock.c --- cpufreqd-2.0.0-pre1/src/cpufreqd_nvclock.c 2005-09-24 20:13:53.000000000 +0200 -+++ cpufreqd-2.0.0-pre1-nv/src/cpufreqd_nvclock.c 2005-10-17 00:58:41.000000000 +0200 -@@ -106,11 +106,11 @@ static void nvcore_change(void *obj, con - ++++ cpufreqd-2.0.0-pre1-nv/src/cpufreqd_nvclock.c 2005-10-17 10:08:19.000000000 +0200 +@@ -107,10 +107,9 @@ static void nvcore_change(void *obj, con if (nv->card < nvclock.num_cards) { clog(LOG_INFO, "Setting nv_core for card %i to (%u)\n", nv->card, nv->value); -- set_card(nv->card); - nvclock.card[nv->card].gpu = DESKTOP; - nv_card.number = -1; /* Force a re-init of the function pointers */ set_card(nv->card); - nv_card.set_gpu_speed(nv->value); +- nvclock.card[nv->card].gpu = DESKTOP; +- nv_card.number = -1; /* Force a re-init of the function pointers */ +- set_card(nv->card); +- nv_card.set_gpu_speed(nv->value); ++ if(nv_card.supported & GPU_OVERCLOCKING_SUPPORTED) ++ nv_card.set_gpu_speed(nv->value); + unset_card(nv->card); } } -@@ -119,11 +119,11 @@ static void nvmem_change(void *obj, cons - +@@ -120,10 +119,9 @@ static void nvmem_change(void *obj, cons if (nv->card < nvclock.num_cards) { clog(LOG_INFO, "Setting nv_mem for card %i to (%u)\n", nv->card, nv->value); -- set_card(nv->card); - nvclock.card[nv->card].gpu = DESKTOP; - nv_card.number = -1; /* Force a re-init of the function pointers */ set_card(nv->card); - nv_card.set_memory_speed(nv->value); +- nvclock.card[nv->card].gpu = DESKTOP; +- nv_card.number = -1; /* Force a re-init of the function pointers */ +- set_card(nv->card); +- nv_card.set_memory_speed(nv->value); ++ if(nv_card.supported & MEM_OVERCLOCKING_SUPPORTED) ++ nv_card.set_memory_speed(nv->value); + unset_card(nv->card); } } diff --git a/sys-power/cpufreqd/files/digest-cpufreqd-2.0.0_pre1-r1 b/sys-power/cpufreqd/files/digest-cpufreqd-2.0.0_pre1-r1 new file mode 100644 index 000000000000..8b9b27aed009 --- /dev/null +++ b/sys-power/cpufreqd/files/digest-cpufreqd-2.0.0_pre1-r1 @@ -0,0 +1,2 @@ +MD5 5a3b7315b06c1c68d3998f0cbb73783b cpufreqd-2.0.0-pre1.tar.gz 362917 +MD5 df36711124e08b3349692a8788755d14 nvclock0.8b.tar.gz 353127 |