Displaying 19 results from an estimated 19 matches for "nouveau_platform_power_up".
2014 Dec 24
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...latform.h>
> #include <linux/reset.h>
> #include <linux/regulator/consumer.h>
> #include <soc/tegra/fuse.h>
> +#include <soc/tegra/mc.h>
> #include <soc/tegra/pmc.h>
>
> #include "nouveau_drm.h"
> @@ -61,6 +63,9 @@ static int nouveau_platform_power_up(struct nouveau_platform_gpu *gpu)
> reset_control_deassert(gpu->rst);
> udelay(10);
>
> + tegra_mc_flush(gpu->mc, gpu->swgroup, false);
> + udelay(10);
> +
> return 0;
>
> err_clamp:
> @@ -77,6 +82,14 @@ static int nouveau_platform_power_down(struct...
2014 Dec 23
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...;linux/of.h>
+#include <linux/of_platform.h>
#include <linux/reset.h>
#include <linux/regulator/consumer.h>
#include <soc/tegra/fuse.h>
+#include <soc/tegra/mc.h>
#include <soc/tegra/pmc.h>
#include "nouveau_drm.h"
@@ -61,6 +63,9 @@ static int nouveau_platform_power_up(struct nouveau_platform_gpu *gpu)
reset_control_deassert(gpu->rst);
udelay(10);
+ tegra_mc_flush(gpu->mc, gpu->swgroup, false);
+ udelay(10);
+
return 0;
err_clamp:
@@ -77,6 +82,14 @@ static int nouveau_platform_power_down(struct nouveau_platform_gpu *gpu)
{
int err;
+ tegr...
2014 Dec 25
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...linux/reset.h>
>> #include <linux/regulator/consumer.h>
>> #include <soc/tegra/fuse.h>
>> +#include <soc/tegra/mc.h>
>> #include <soc/tegra/pmc.h>
>>
>> #include "nouveau_drm.h"
>> @@ -61,6 +63,9 @@ static int nouveau_platform_power_up(struct nouveau_platform_gpu *gpu)
>> reset_control_deassert(gpu->rst);
>> udelay(10);
>>
>> + tegra_mc_flush(gpu->mc, gpu->swgroup, false);
>> + udelay(10);
>> +
>> return 0;
>>
>> err_clamp:
>> @@ -77,6 +82,14 @@...
2015 Jan 05
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...h>
> >> #include <linux/regulator/consumer.h>
> >> #include <soc/tegra/fuse.h>
> >>+#include <soc/tegra/mc.h>
> >> #include <soc/tegra/pmc.h>
> >> #include "nouveau_drm.h"
> >>@@ -61,6 +63,9 @@ static int nouveau_platform_power_up(struct nouveau_platform_gpu *gpu)
> >> reset_control_deassert(gpu->rst);
> >> udelay(10);
> >>+ tegra_mc_flush(gpu->mc, gpu->swgroup, false);
> >>+ udelay(10);
> >>+
> >> return 0;
> >> err_clamp:
> >>@@ -77,6 +...
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
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...regulator/consumer.h>
> >>>> #include <soc/tegra/fuse.h>
> >>>>+#include <soc/tegra/mc.h>
> >>>> #include <soc/tegra/pmc.h>
> >>>> #include "nouveau_drm.h"
> >>>>@@ -61,6 +63,9 @@ static int nouveau_platform_power_up(struct nouveau_platform_gpu *gpu)
> >>>> reset_control_deassert(gpu->rst);
> >>>> udelay(10);
> >>>>+ tegra_mc_flush(gpu->mc, gpu->swgroup, false);
> >>>>+ udelay(10);
> >>>>+
> >>>> return 0;
&...
2015 Jan 06
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...t;>>> #include <soc/tegra/fuse.h>
> >>>>>>+#include <soc/tegra/mc.h>
> >>>>>> #include <soc/tegra/pmc.h>
> >>>>>> #include "nouveau_drm.h"
> >>>>>>@@ -61,6 +63,9 @@ static int nouveau_platform_power_up(struct nouveau_platform_gpu *gpu)
> >>>>>> reset_control_deassert(gpu->rst);
> >>>>>> udelay(10);
> >>>>>>+ tegra_mc_flush(gpu->mc, gpu->swgroup, false);
> >>>>>>+ udelay(10);
> >>>>>&...
2014 Jun 26
0
[PATCH v3 1/3] drm/nouveau: support for probing platform devices
...nux/module.h>
+#include <linux/platform_device.h>
+#include <linux/of.h>
+#include <linux/reset.h>
+#include <linux/regulator/consumer.h>
+#include <linux/tegra-powergate.h>
+
+#include "nouveau_drm.h"
+#include "nouveau_platform.h"
+
+static int nouveau_platform_power_up(struct nouveau_platform_gpu *gpu)
+{
+ int err;
+
+ err = regulator_enable(gpu->vdd);
+ if (err)
+ goto err_power;
+
+ err = clk_prepare_enable(gpu->clk);
+ if (err)
+ goto err_clk;
+ err = clk_prepare_enable(gpu->clk_pwr);
+ if (err)
+ goto err_clk_pwr;
+ clk_set_rate(gpu->clk_pwr,...
2014 Jun 26
6
[PATCH v3 0/3] drm/nouveau: support for probing platform devices
This series adds support for probing platform devices on Nouveau, as well as
the DT bindings for GK20A. It doesn't enable the GPU yet on Tegra boards since
a few extra things need to be supported before that.
This version is mostly identical to v2 but fixes an important issue: the drvdata
must be set to the drm_device for sysfs to work, so the platform device
structure now includes the
2014 Jun 13
3
[PATCH v2 0/3] drm/nouveau: support for probing platform devices
This series adds support for probing platform devices on Nouveau, as well as
the DT bindings for GK20A. It doesn't enable the GPU yet on Tegra boards since
a few extra things need to be supported before that.
Thanks to the input received for v1, this version is more self-contained and
shares less stuff between nouveau_drm and nouveau_platform. The major change
is that nouveau_platform is now
2014 Jun 26
2
[PATCH v3 1/3] drm/nouveau: support for probing platform devices
..._device.h>
> +#include <linux/of.h>
> +#include <linux/reset.h>
> +#include <linux/regulator/consumer.h>
> +#include <linux/tegra-powergate.h>
> +
> +#include "nouveau_drm.h"
> +#include "nouveau_platform.h"
> +
> +static int nouveau_platform_power_up(struct nouveau_platform_gpu *gpu)
> +{
> + int err;
> +
> + err = regulator_enable(gpu->vdd);
> + if (err)
> + goto err_power;
> +
> + err = clk_prepare_enable(gpu->clk);
> + if (err)
> + goto err_clk;
> + err = clk_prepare_enable(gpu->clk_pwr);
> + if...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...#include <linux/regulator/consumer.h>
>>>> #include <soc/tegra/fuse.h>
>>>> +#include <soc/tegra/mc.h>
>>>> #include <soc/tegra/pmc.h>
>>>> #include "nouveau_drm.h"
>>>> @@ -61,6 +63,9 @@ static int nouveau_platform_power_up(struct nouveau_platform_gpu *gpu)
>>>> reset_control_deassert(gpu->rst);
>>>> udelay(10);
>>>> + tegra_mc_flush(gpu->mc, gpu->swgroup, false);
>>>> + udelay(10);
>>>> +
>>>> return 0;
>>>> err_cl...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...>
>>>>>> #include <soc/tegra/fuse.h>
>>>>>> +#include <soc/tegra/mc.h>
>>>>>> #include <soc/tegra/pmc.h>
>>>>>> #include "nouveau_drm.h"
>>>>>> @@ -61,6 +63,9 @@ static int nouveau_platform_power_up(struct nouveau_platform_gpu *gpu)
>>>>>> reset_control_deassert(gpu->rst);
>>>>>> udelay(10);
>>>>>> + tegra_mc_flush(gpu->mc, gpu->swgroup, false);
>>>>>> + udelay(10);
>>>>>> +
>>>>...
2015 Jan 06
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...lude <soc/tegra/fuse.h>
> > >>>>>>+#include <soc/tegra/mc.h>
> > >>>>>> #include <soc/tegra/pmc.h>
> > >>>>>> #include "nouveau_drm.h"
> > >>>>>>@@ -61,6 +63,9 @@ static int nouveau_platform_power_up(struct nouveau_platform_gpu *gpu)
> > >>>>>> reset_control_deassert(gpu->rst);
> > >>>>>> udelay(10);
> > >>>>>>+ tegra_mc_flush(gpu->mc, gpu->swgroup, false);
> > >>>>>>+ udelay(10);
> &...
2014 May 19
10
[PATCH 0/5] drm/nouveau: platform devices and GK20A probing
This patch series is the final (?) step towards the initial support of GK20A,
allowing it to be probed and used (currently at a very slow speed, and for
offscreen rendering only) on the Jetson TK1 and Venice 2 boards.
The main piece if the first patch which adds platform devices probing support
to Nouveau. There are probably lots of things that need to be discussed about
it, e.g.:
* The way the
2015 Feb 20
6
[PATCH v4 0/6] nouveau/gk20a: RAM device removal & IOMMU support
Changes since v3:
- Use a single dma_attr for all DMA-API allocations in instmem instead of one
per allocation
- Use device.info.ram_size instead of pfb->ram to check whether VRAM is present
outside of nvkm
Changes since v2:
- Cleaner changes for ltc
- Fixed typos in gk20a instmem IOMMU comments
Changes since v1:
- Add missing else condition in ltc
- Remove extra flags that slipped into
2015 Feb 11
9
[PATCH v2 0/6] nouveau/gk20a: RAM device removal & IOMMU support
Changes since v1:
- Add missing else condition in ltc
- Remove extra flags that slipped into nouveau_display.c and nv84_fence.c.
Original cover letter:
Patches 1-3 make the presence of a RAM device optional, and remove GK20A's dummy
RAM driver we were using so far. On chips using shared memory, such a device
can confuse the driver into moving objects where there is no need to, and can
trick
2015 Jan 23
8
[PATCH 0/6] nouveau/gk20a: RAM device removal & IOMMU support
A series I have waited too long to submit, and the recent refactoring made
me pay the price of my perfectionism, so here are the features that are at least
completed
Patches 1-3 make the presence of a RAM device optional, and remove GK20A's dummy
RAM driver we were using so far. On chips using shared memory, such a device
can confuse the driver into moving objects where there is no need to,
2015 Feb 17
8
[PATCH v3 0/6] nouveau/gk20a: RAM device removal & IOMMU support
Thanks Ilia for the v2 review! Here is the v3 of this IOMMU support for GK20A
series.
Changes since v2:
- Cleaner changes for ltc
- Fixed typos in gk20a instmem IOMMU comments
Changes since v1:
- Add missing else condition in ltc
- Remove extra flags that slipped into nouveau_display.c and nv84_fence.c.
Original cover letter:
Patches 1-3 make the presence of a RAM device optional, and remove