Lines 107-116
Link Here
|
107 |
if (nv->card < nvclock.num_cards) { |
107 |
if (nv->card < nvclock.num_cards) { |
108 |
clog(LOG_INFO, "Setting nv_core for card %i to (%u)\n", nv->card, nv->value); |
108 |
clog(LOG_INFO, "Setting nv_core for card %i to (%u)\n", nv->card, nv->value); |
109 |
set_card(nv->card); |
109 |
set_card(nv->card); |
110 |
nvclock.card[nv->card].gpu = DESKTOP; |
110 |
if(nv_card.supported & GPU_OVERCLOCKING_SUPPORTED) |
111 |
nv_card.number = -1; /* Force a re-init of the function pointers */ |
111 |
nv_card.set_gpu_speed(nv->value); |
112 |
set_card(nv->card); |
112 |
unset_card(nv->card); |
113 |
nv_card.set_gpu_speed(nv->value); |
|
|
114 |
} |
113 |
} |
115 |
} |
114 |
} |
116 |
|
115 |
|
Lines 120-129
Link Here
|
120 |
if (nv->card < nvclock.num_cards) { |
119 |
if (nv->card < nvclock.num_cards) { |
121 |
clog(LOG_INFO, "Setting nv_mem for card %i to (%u)\n", nv->card, nv->value); |
120 |
clog(LOG_INFO, "Setting nv_mem for card %i to (%u)\n", nv->card, nv->value); |
122 |
set_card(nv->card); |
121 |
set_card(nv->card); |
123 |
nvclock.card[nv->card].gpu = DESKTOP; |
122 |
if(nv_card.supported & MEM_OVERCLOCKING_SUPPORTED) |
124 |
nv_card.number = -1; /* Force a re-init of the function pointers */ |
123 |
nv_card.set_memory_speed(nv->value); |
125 |
set_card(nv->card); |
124 |
unset_card(nv->card); |
126 |
nv_card.set_memory_speed(nv->value); |
|
|
127 |
} |
125 |
} |
128 |
} |
126 |
} |
129 |
|
127 |
|