search for: tegra_mc_build_swgroup

Displaying 6 results from an estimated 6 matches for "tegra_mc_build_swgroup".

2015 Jan 06
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...he hotreset registers. Right. Perhaps calling this structure tegra_mc_hotreset and the variables *_hotresets would be a good idea to clarify that they aren't actually per-client but per-SWGROUP. > >>Created one function to build the swgroup list. > >> > >>static int tegra_mc_build_swgroup(struct tegra_mc *mc) > >>{ > >> int i; > >> > >> for (i = 0; i < mc->soc->num_clients; i++) { > >> struct tegra_mc_swgroup *sg; > >> bool found = false; > >> > >> list_for_each_entry(sg,...
2015 Jan 06
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...ct list_head swgroups; This doesn't belong in struct tegra_mc_soc because that's meant to be static information about the specific variant of the memory-controller. Put it in struct tegra_mc instead. > ... > > Created one function to build the swgroup list. > > static int tegra_mc_build_swgroup(struct tegra_mc *mc) > { > int i; > > for (i = 0; i < mc->soc->num_clients; i++) { > struct tegra_mc_swgroup *sg; > bool found = false; > > list_for_each_entry(sg, &mc->soc->swgroups, head) { > if (sg->id...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...t belong in struct tegra_mc_soc because that's meant to be > static information about the specific variant of the memory-controller. > Put it in struct tegra_mc instead. Okay. > >> ... >> >> Created one function to build the swgroup list. >> >> static int tegra_mc_build_swgroup(struct tegra_mc *mc) >> { >> int i; >> >> for (i = 0; i < mc->soc->num_clients; i++) { >> struct tegra_mc_swgroup *sg; >> bool found = false; >> >> list_for_each_entry(sg, &mc->soc->swgroups, hea...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...s calling this structure tegra_mc_hotreset and the > variables *_hotresets would be a good idea to clarify that they aren't > actually per-client but per-SWGROUP. Okay. > > > >>Created one function to build the swgroup list. > > >> > > >>static int tegra_mc_build_swgroup(struct tegra_mc *mc) > > >>{ > > >> int i; > > >> > > >> for (i = 0; i < mc->soc->num_clients; i++) { > > >> struct tegra_mc_swgroup *sg; > > >> bool found = false; > > >> > >...
2015 Jan 05
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
On Thu, Dec 25, 2014 at 10:42:58AM +0800, Vince Hsu wrote: > > On 12/24/2014 09:23 PM, Lucas Stach wrote: > >Am Dienstag, den 23.12.2014, 18:39 +0800 schrieb Vince Hsu: > >>This patch adds some missing pieces of the rail gaing/ungating sequence that > >>can improve the stability in theory. > >> > >>Signed-off-by: Vince Hsu <vinceh at
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...list head in the struct tegra_mc_soc. struct tegra_mc_soc { struct tegra_mc_client *clients; unsigned int num_clients; struct tegra_mc_hr *hr_clients; unsigned int num_hr_clients; struct list_head swgroups; ... Created one function to build the swgroup list. static int tegra_mc_build_swgroup(struct tegra_mc *mc) { int i; for (i = 0; i < mc->soc->num_clients; i++) { struct tegra_mc_swgroup *sg; bool found = false; list_for_each_entry(sg, &mc->soc->swgroups, head) { if (sg->id == mc->soc->clients[i].swgroup)...