Displaying 10 results from an estimated 10 matches for "nouveau_platform_get_mc".
2014 Dec 24
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...pu_set_clamping(true);
> + if (err)
> + return err;
> + udelay(10);
> +
> reset_control_assert(gpu->rst);
> udelay(10);
>
> @@ -91,6 +104,31 @@ static int nouveau_platform_power_down(struct nouveau_platform_gpu *gpu)
> return 0;
> }
>
> +static int nouveau_platform_get_mc(struct device *dev,
> + struct tegra_mc **mc, unsigned int *swgroup)
Uhm, no. If this is needed this has to be a Tegra MC function and not
burried into nouveau code. You are using knowledge about the internal
workings of the MC driver here.
Also this should probably only take the Dt node poin...
2014 Dec 23
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...gt;swgroup, true);
+ udelay(10);
+
+ err = tegra_powergate_gpu_set_clamping(true);
+ if (err)
+ return err;
+ udelay(10);
+
reset_control_assert(gpu->rst);
udelay(10);
@@ -91,6 +104,31 @@ static int nouveau_platform_power_down(struct nouveau_platform_gpu *gpu)
return 0;
}
+static int nouveau_platform_get_mc(struct device *dev,
+ struct tegra_mc **mc, unsigned int *swgroup)
+{
+ struct of_phandle_args args;
+ struct platform_device *pdev;
+ int ret;
+
+ ret = of_parse_phandle_with_fixed_args(dev->of_node, "mc",
+ 1, 0, &args);
+ if (ret)
+ return ret;
+
+ pdev = of_find_device_by_...
2014 Dec 25
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...return err;
>> + udelay(10);
>> +
>> reset_control_assert(gpu->rst);
>> udelay(10);
>>
>> @@ -91,6 +104,31 @@ static int nouveau_platform_power_down(struct nouveau_platform_gpu *gpu)
>> return 0;
>> }
>>
>> +static int nouveau_platform_get_mc(struct device *dev,
>> + struct tegra_mc **mc, unsigned int *swgroup)
> Uhm, no. If this is needed this has to be a Tegra MC function and not
> burried into nouveau code. You are using knowledge about the internal
> workings of the MC driver here.
>
> Also this should probably...
2015 Jan 05
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...err;
> >>+ udelay(10);
> >>+
> >> reset_control_assert(gpu->rst);
> >> udelay(10);
> >>@@ -91,6 +104,31 @@ static int nouveau_platform_power_down(struct nouveau_platform_gpu *gpu)
> >> return 0;
> >> }
> >>+static int nouveau_platform_get_mc(struct device *dev,
> >>+ struct tegra_mc **mc, unsigned int *swgroup)
> >Uhm, no. If this is needed this has to be a Tegra MC function and not
> >burried into nouveau code. You are using knowledge about the internal
> >workings of the MC driver here.
> >
> >...
2015 Jan 06
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...gt; >>>> reset_control_assert(gpu->rst);
> >>>> udelay(10);
> >>>>@@ -91,6 +104,31 @@ static int nouveau_platform_power_down(struct nouveau_platform_gpu *gpu)
> >>>> return 0;
> >>>> }
> >>>>+static int nouveau_platform_get_mc(struct device *dev,
> >>>>+ struct tegra_mc **mc, unsigned int *swgroup)
> >>>Uhm, no. If this is needed this has to be a Tegra MC function and not
> >>>burried into nouveau code. You are using knowledge about the internal
> >>>workings of the MC...
2015 Jan 06
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...ert(gpu->rst);
> >>>>>> udelay(10);
> >>>>>>@@ -91,6 +104,31 @@ static int nouveau_platform_power_down(struct nouveau_platform_gpu *gpu)
> >>>>>> return 0;
> >>>>>> }
> >>>>>>+static int nouveau_platform_get_mc(struct device *dev,
> >>>>>>+ struct tegra_mc **mc, unsigned int *swgroup)
> >>>>>Uhm, no. If this is needed this has to be a Tegra MC function and not
> >>>>>burried into nouveau code. You are using knowledge about the internal
> >>...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...0);
>>>> +
>>>> reset_control_assert(gpu->rst);
>>>> udelay(10);
>>>> @@ -91,6 +104,31 @@ static int nouveau_platform_power_down(struct nouveau_platform_gpu *gpu)
>>>> return 0;
>>>> }
>>>> +static int nouveau_platform_get_mc(struct device *dev,
>>>> + struct tegra_mc **mc, unsigned int *swgroup)
>>> Uhm, no. If this is needed this has to be a Tegra MC function and not
>>> burried into nouveau code. You are using knowledge about the internal
>>> workings of the MC driver here.
>...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...reset_control_assert(gpu->rst);
>>>>>> udelay(10);
>>>>>> @@ -91,6 +104,31 @@ static int nouveau_platform_power_down(struct nouveau_platform_gpu *gpu)
>>>>>> return 0;
>>>>>> }
>>>>>> +static int nouveau_platform_get_mc(struct device *dev,
>>>>>> + struct tegra_mc **mc, unsigned int *swgroup)
>>>>> Uhm, no. If this is needed this has to be a Tegra MC function and not
>>>>> burried into nouveau code. You are using knowledge about the internal
>>>>> wor...
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:
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...t; >>>>>> udelay(10);
> > >>>>>>@@ -91,6 +104,31 @@ static int nouveau_platform_power_down(struct nouveau_platform_gpu *gpu)
> > >>>>>> return 0;
> > >>>>>> }
> > >>>>>>+static int nouveau_platform_get_mc(struct device *dev,
> > >>>>>>+ struct tegra_mc **mc, unsigned int *swgroup)
> > >>>>>Uhm, no. If this is needed this has to be a Tegra MC function and not
> > >>>>>burried into nouveau code. You are using knowledge about the intern...