search for: tegra_mc_soc

Displaying 9 results from an estimated 9 matches for "tegra_mc_soc".

2015 Jan 06
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...SWGROUP. > Based on your suggestion above, I created a struct tegra_mc_swgroup: > > struct tegra_mc_swgroup { > unsigned int id; > struct tegra_mc *mc; > struct list_head head; > struct list_head clients; > }; > > And added the 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; Why do you still need these? > struct list_head swgroups; This doesn't belong in struct t...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...above, I created a struct tegra_mc_swgroup: >> >> struct tegra_mc_swgroup { >> unsigned int id; >> struct tegra_mc *mc; >> struct list_head head; >> struct list_head clients; >> }; >> >> And added the 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; > Why do you still need these? This part is added in "[PATCH 2/11...
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
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...group: > >> > >>struct tegra_mc_swgroup { > >> unsigned int id; > >> struct tegra_mc *mc; > >> struct list_head head; > >> struct list_head clients; > >>}; > >> > >>And added the 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; > >Why do you still need these? >...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...enting a memory client pertaining to the > SWGROUP. Based on your suggestion above, I created a struct tegra_mc_swgroup: struct tegra_mc_swgroup { unsigned int id; struct tegra_mc *mc; struct list_head head; struct list_head clients; }; And added the 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_...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...truct tegra_mc_swgroup { > > >> unsigned int id; > > >> struct tegra_mc *mc; > > >> struct list_head head; > > >> struct list_head clients; > > >>}; > > >> > > >>And added the 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; > &gt...
2014 Dec 23
0
[PATCH 2/11] memory: tegra: add mc flush support
...a_mc_hr *hr_client, + bool enable); +}; + struct tegra_smmu_swgroup { unsigned int swgroup; unsigned int reg; @@ -64,7 +79,6 @@ struct tegra_smmu_soc { const struct tegra_smmu_ops *ops; }; -struct tegra_mc; struct tegra_smmu; #ifdef CONFIG_TEGRA_IOMMU_SMMU @@ -84,6 +98,11 @@ struct tegra_mc_soc { const struct tegra_mc_client *clients; unsigned int num_clients; + const struct tegra_mc_hr *hr_clients; + unsigned int num_hr_clients; + + const struct tegra_mc_ops *ops; + const unsigned int *emem_regs; unsigned int num_emem_regs; @@ -104,4 +123,6 @@ struct tegra_mc { unsigned lon...
2014 Dec 23
0
[PATCH 3/11] memory: tegra: add flush operation for Tegra124 memory clients
...ue; + } while (!(val & BIT(hr_client->bit))); + } + + return 0; +} + +static const struct tegra_mc_ops tegra124_mc_ops = { + .flush = tegra124_mc_flush, +}; + static void tegra124_flush_dcache(struct page *page, unsigned long offset, size_t size) { @@ -991,5 +1070,8 @@ const struct tegra_mc_soc tegra124_mc_soc = { .num_address_bits = 34, .atom_size = 32, .smmu = &tegra124_smmu_soc, + .hr_clients = tegra124_mc_hr, + .num_hr_clients = ARRAY_SIZE(tegra124_mc_hr), + .ops = &tegra124_mc_ops, }; #endif /* CONFIG_ARCH_TEGRA_124_SOC */ -- 1.9.1
2014 Dec 23
18
[PATCH 0/11] Add suspend/resume support for GK20A
Hi, This series includes some pieces of fixes to complete the GK20A power on/off sequences and add the suspend/resume support. The patches 1/11 - 4/11 are based on the linux-next-20141219. The patches 5/11 - 11/11 are based on the branch "linux-3.19" of Ben Skeggs's tree (http://cgit.freedesktop.org/~darktama/nouveau). Thanks, Vince Vince Hsu (4): (linux-next-20141219) ARM: