Displaying 6 results from an estimated 6 matches for "gpu_rg_cntrl".
2014 Dec 24
3
[PATCH 1/11] ARM: tegra: add function to control the GPU rail clamp
...te_remove_clamping(int id)
> return -EINVAL;
>
> /*
> - * The Tegra124 GPU has a separate register (with different semantics)
> - * to remove clamps.
> - */
> - if (tegra_get_chip_id() == TEGRA124) {
> - if (id == TEGRA_POWERGATE_3D) {
> - tegra_pmc_writel(0, GPU_RG_CNTRL);
> - return 0;
> - }
> - }
> -
> - /*
> * Tegra 2 has a bug where PCIE and VDE clamping masks are
> * swapped relatively to the partition ids
> */
> @@ -253,6 +242,29 @@ int tegra_powergate_remove_clamping(int id)
> EXPORT_SYMBOL(tegra_powergate_remove_cl...
2014 Dec 25
2
[PATCH 1/11] ARM: tegra: add function to control the GPU rail clamp
...gt;> /*
> >> - * The Tegra124 GPU has a separate register (with different semantics)
> >> - * to remove clamps.
> >> - */
> >> - if (tegra_get_chip_id() == TEGRA124) {
> >> - if (id == TEGRA_POWERGATE_3D) {
> >> - tegra_pmc_writel(0, GPU_RG_CNTRL);
> >> - return 0;
> >> - }
> >> - }
> >> -
> >> - /*
> >> * Tegra 2 has a bug where PCIE and VDE clamping masks are
> >> * swapped relatively to the partition ids
> >> */
> >> @@ -253,6 +242,29 @@ int t...
2014 Dec 23
0
[PATCH 1/11] ARM: tegra: add function to control the GPU rail clamp
.../pmc.c
@@ -225,17 +225,6 @@ int tegra_powergate_remove_clamping(int id)
return -EINVAL;
/*
- * The Tegra124 GPU has a separate register (with different semantics)
- * to remove clamps.
- */
- if (tegra_get_chip_id() == TEGRA124) {
- if (id == TEGRA_POWERGATE_3D) {
- tegra_pmc_writel(0, GPU_RG_CNTRL);
- return 0;
- }
- }
-
- /*
* Tegra 2 has a bug where PCIE and VDE clamping masks are
* swapped relatively to the partition ids
*/
@@ -253,6 +242,29 @@ int tegra_powergate_remove_clamping(int id)
EXPORT_SYMBOL(tegra_powergate_remove_clamping);
/**
+ * tegra_powergate_gpu_set_clampi...
2014 Dec 25
0
[PATCH 1/11] ARM: tegra: add function to control the GPU rail clamp
...return -EINVAL;
>>
>> /*
>> - * The Tegra124 GPU has a separate register (with different semantics)
>> - * to remove clamps.
>> - */
>> - if (tegra_get_chip_id() == TEGRA124) {
>> - if (id == TEGRA_POWERGATE_3D) {
>> - tegra_pmc_writel(0, GPU_RG_CNTRL);
>> - return 0;
>> - }
>> - }
>> -
>> - /*
>> * Tegra 2 has a bug where PCIE and VDE clamping masks are
>> * swapped relatively to the partition ids
>> */
>> @@ -253,6 +242,29 @@ int tegra_powergate_remove_clamping(int id)
>&g...
2014 Dec 29
0
[PATCH 1/11] ARM: tegra: add function to control the GPU rail clamp
...gt; Is there anything speaking against adding this function and only accept
> the GPU partition as valid parameter for now. So at least the interface
> stays symmetric and can be easily extended if any future partitions have
> similar characteristics as the GPU one.
The register APBDEV_PMC_GPU_RG_CNTRL_0 is only for GPU and can be used
for assertion and deassertion. The APBDEV_PMC_REMOVE_CLAMPING_CMD_0 is
only used for deassertion. If we have any future partitions that can be
asserted by SW like GPU, we can improve the interface then.
>
>>> Other comments inline.
>>>
>...
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: