search for: found_match

Displaying 7 results from an estimated 7 matches for "found_match".

2020 Feb 09
3
[draft PATCH] whitelist support for refuse options
...------------- 1 file changed, 82 insertions(+), 32 deletions(-) diff --git a/options.c b/options.c index e5b0cb68..02d1b174 100644 --- a/options.c +++ b/options.c @@ -1133,39 +1133,101 @@ static void set_refuse_options(char *bp) { struct poptOption *op; char *cp, shortname[2]; - int is_wild, found_match; + int is_wild, found_match, whitelist_mode, archive_whitelisted; shortname[1] = '\0'; + whitelist_mode = 0; + archive_whitelisted = 0; + /* We flag options for refusal by abusing the "descrip" field of + * struct poptOption (which we don't use) to temporarily store +...
2014 Jul 10
0
[PATCH 3/3] drm/gk20a: reclocking support
...mp; vco_f <= max_vco_f) { + lwv = (vco_f + (pl_to_div[pl] / 2)) + / pl_to_div[pl]; + delta = abs(lwv - target_clk_f); + + if (delta < best_delta) { + best_delta = delta; + best_m = m; + best_n = n; + best_pl = pl; + + if (best_delta == 0) + goto found_match; + } + } + } + } + } + +found_match: + WARN_ON(best_delta == ~0); + + if (best_delta != 0) + nv_debug(priv, "no best match for target @ %dMHz on gpc_pll", + target_clk_f); + + priv->m = best_m; + priv->n = best_n; + priv->pl = best_pl; + + target_freq = gk20a_pllg_c...
2014 Jul 10
3
[PATCH 3/3] drm/gk20a: reclocking support
...o_div[pl] / 2)) > + / pl_to_div[pl]; > + delta = abs(lwv - target_clk_f); > + > + if (delta < best_delta) { > + best_delta = delta; > + best_m = m; > + best_n = n; > + best_pl = pl; > + > + if (best_delta == 0) > + goto found_match; > + } > + } > + } > + } > + } > + > +found_match: > + WARN_ON(best_delta == ~0); > + > + if (best_delta != 0) > + nv_debug(priv, "no best match for target @ %dMHz on gpc_pll", > + target_clk_f); > + > + priv->m = best_m; > + p...
2014 Jul 10
10
[PATCH 0/3] drm/gk20a: support for reclocking
This series adds support for reclocking on GK20A. The first two patches touch the clock subsystem to allow GK20A to operate, by making the presence of the thermal and voltage devices optional, and allowing pstates to be provided directly instead of being probed using the BIOS (which Tegra does not have). The last patch adds the GK20A clock device. Arguably the clock can be seen as a stripped-down
2016 Mar 11
16
[PATCH 00/16] clk/gm20b: add basic driver
This series does some refactoring in the GK20A's volt and clk drivers (fixing a few things while we are at it) to let GM20B benefit from the GK20A's logic with which it is compatible. GM20B is capable of more sophisticated (and power-efficient) reclocking which will follow later. Even after this more fancy reclocking is merged, the present logic will remain used in the lowest speedo of
2014 Jul 26
5
[PATCH v2 0/3] drm/gk20a: support for reclocking
Second version of the gk20a clock patches. I have tried to keep the therm and volt devices mandatory in the clock driver, but unfortunately they are too tied to bios to allow this, at least for the moment. Consequently this version is mostly a port of the first version to Ben's tree. Ben, please let me know what I have done wrong in terms of integration to your tree, as the main purpose of
2016 Jun 01
15
[PATCH 00/15] clk/tegra: improve code and add DFS support
This series adds support for GM20B PLL's Maxwell features, namely glitchless switch and (more importantly) DFS support. DFS lets the PLL lower its output speed according to input current variations, making the clock more stable and allowing it to run safely at lower voltage. All GM20B additions are done in the last patch, which consequently ends up being considerably big ; fortunately, it