Displaying 20 results from an estimated 169 matches for "udelay".
Did you mean:
delay
2017 Jun 09
4
[PATCH 1/3] drm/nouveau/tegra: Skip manual unpowergating when not necessary
...nvkm/engine/device/tegra.c
index 6474bd2a6d07..3d42cdbbe9c0 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
@@ -51,10 +51,12 @@ nvkm_device_tegra_power_up(struct nvkm_device_tegra *tdev)
reset_control_assert(tdev->rst);
udelay(10);
- ret = tegra_powergate_remove_clamping(TEGRA_POWERGATE_3D);
- if (ret)
- goto err_clamp;
- udelay(10);
+ if (!tdev->pdev->dev.pm_domain) {
+ ret = tegra_powergate_remove_clamping(TEGRA_POWERGATE_3D);
+ if (ret)
+ goto err_clamp;
+ udelay(10);
+ }
reset_control_deassert(tdev-...
2014 Dec 24
2
[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);
> +
> return 0;
>
> err_clamp:
> @@ -77,6 +82,14 @@ static int nouveau_platform_power_down(struct nouveau_platform_gpu *gpu)
> {
> int err;
>
> + tegra_mc_flush(gpu->mc,...
2007 Apr 18
0
[PATCH 5/9] Paravirt drop udelay op
Not respecting udelay causes problems with any virtual hardware that is
passed through to real hardware. This can be noticed by any device that
interacts with the real world in real time - like AP startup, which takes
real time. Or keyboard LEDs, which should blink in real-time. Or floppy
drives, but only when passed...
2007 Apr 18
0
[PATCH 5/9] Paravirt drop udelay op
Not respecting udelay causes problems with any virtual hardware that is
passed through to real hardware. This can be noticed by any device that
interacts with the real world in real time - like AP startup, which takes
real time. Or keyboard LEDs, which should blink in real-time. Or floppy
drives, but only when passed...
2016 Jul 06
0
[PATCH] ibus/gk20a: use udelay() in interrupt context
gk20a_ibus_init_ibus_ring() can be called from gk20a_ibus_intr(), in
non-interruptible context. Replace use of usleep_range() with udelay().
Reported-by: Thierry Reding <treding at nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot at nvidia.com>
---
drm/nouveau/nvkm/subdev/ibus/gk20a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drm/nouveau/nvkm/subdev/ibus/gk20a.c b/drm/nouveau/nvkm/subdev/...
2007 Apr 24
1
RE: [Xen-staging] [xen-unstable] hvm rombios: Fix int15, func 0x86 (udelay).
...xen-staging-bounces@lists.xensource.com
> [mailto:xen-staging-bounces@lists.xensource.com] On Behalf Of
> Xen staging patchbot-unstable
> Sent: 24 April 2007 12:16
> To: xen-staging@lists.xensource.com
> Subject: [Xen-staging] [xen-unstable] hvm rombios: Fix int15,
> func 0x86 (udelay).
>
> # HG changeset patch
> # User kfraser@localhost.localdomain
> # Date 1177413238 -3600
> # Node ID f71d167a6c6d7038fedc3d748db334f8ebba6467
> # Parent a7bd11fd5b1b6f4a82135db09dfe654e8966fabe
> hvm rombios: Fix int15, func 0x86 (udelay).
> Was reading argument from wr...
2015 Jan 05
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...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)
> >> {
> >&g...
2015 Jan 06
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...>>> #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...
2015 Jan 06
2
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...egra/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 @@ stati...
2014 Dec 23
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...inux/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;
+ tegra_mc_flush(gpu->mc, gpu->swgroup, true);
+ udelay(10);
+
+ err = tegra_power...
2014 Dec 25
0
[PATCH nouveau 06/11] platform: complete the power up/down sequence
...;> +#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...
2007 Apr 18
1
RFC: const_udelay in 018-delay functions patch
So I implemented udelay and ndelay through a single paravirt_op, =
const_udelay, instead of having either two separate paravirt-ops for =
udelay or ndelay, or a redundant const_udelay paravirt_op. Anybody have =
any objection to reworking the patch this way?
-------------- next part --------------
Add paravirtualize...
2007 Apr 18
1
RFC: const_udelay in 018-delay functions patch
So I implemented udelay and ndelay through a single paravirt_op, =
const_udelay, instead of having either two separate paravirt-ops for =
udelay or ndelay, or a redundant const_udelay paravirt_op. Anybody have =
any objection to reworking the patch this way?
-------------- next part --------------
Add paravirtualize...
2017 Jun 12
0
[PATCH 1/3] drm/nouveau/tegra: Skip manual unpowergating when not necessary
...; index 6474bd2a6d07..3d42cdbbe9c0 100644
> --- a/drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
> +++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c
> @@ -51,10 +51,12 @@ nvkm_device_tegra_power_up(struct nvkm_device_tegra *tdev)
> reset_control_assert(tdev->rst);
> udelay(10);
>
> - ret = tegra_powergate_remove_clamping(TEGRA_POWERGATE_3D);
> - if (ret)
> - goto err_clamp;
> - udelay(10);
> + if (!tdev->pdev->dev.pm_domain) {
> + ret = tegra_powergate_remove_clamping(TEGRA_POWERGATE_3D);
> + if (ret)
> + goto err_clamp;
> +...
2020 Jul 14
0
[PATCH AUTOSEL 5.7 15/19] drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
...b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
index c8ab1b5741a3e..db7769cb33eba 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
@@ -118,10 +118,10 @@ g94_i2c_aux_xfer(struct nvkm_i2c_aux *obj, bool retry,
if (retries)
udelay(400);
- /* transaction request, wait up to 1ms for it to complete */
+ /* transaction request, wait up to 2ms for it to complete */
nvkm_wr32(device, 0x00e4e4 + base, 0x00010000 | ctrl);
- timeout = 1000;
+ timeout = 2000;
do {
ctrl = nvkm_rd32(device, 0x00e4e4 + base);
udelay...
2020 Jul 14
0
[PATCH AUTOSEL 5.4 14/18] drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
...b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
index c8ab1b5741a3e..db7769cb33eba 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
@@ -118,10 +118,10 @@ g94_i2c_aux_xfer(struct nvkm_i2c_aux *obj, bool retry,
if (retries)
udelay(400);
- /* transaction request, wait up to 1ms for it to complete */
+ /* transaction request, wait up to 2ms for it to complete */
nvkm_wr32(device, 0x00e4e4 + base, 0x00010000 | ctrl);
- timeout = 1000;
+ timeout = 2000;
do {
ctrl = nvkm_rd32(device, 0x00e4e4 + base);
udelay...
2020 Jul 14
0
[PATCH AUTOSEL 4.19 12/13] drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
...b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
index c8ab1b5741a3e..db7769cb33eba 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
@@ -118,10 +118,10 @@ g94_i2c_aux_xfer(struct nvkm_i2c_aux *obj, bool retry,
if (retries)
udelay(400);
- /* transaction request, wait up to 1ms for it to complete */
+ /* transaction request, wait up to 2ms for it to complete */
nvkm_wr32(device, 0x00e4e4 + base, 0x00010000 | ctrl);
- timeout = 1000;
+ timeout = 2000;
do {
ctrl = nvkm_rd32(device, 0x00e4e4 + base);
udelay...
2020 Jul 14
0
[PATCH AUTOSEL 4.14 12/12] drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
...b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
index c8ab1b5741a3e..db7769cb33eba 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
@@ -118,10 +118,10 @@ g94_i2c_aux_xfer(struct nvkm_i2c_aux *obj, bool retry,
if (retries)
udelay(400);
- /* transaction request, wait up to 1ms for it to complete */
+ /* transaction request, wait up to 2ms for it to complete */
nvkm_wr32(device, 0x00e4e4 + base, 0x00010000 | ctrl);
- timeout = 1000;
+ timeout = 2000;
do {
ctrl = nvkm_rd32(device, 0x00e4e4 + base);
udelay...
2020 Jul 14
0
[PATCH AUTOSEL 4.9 10/10] drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
...b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
index 954f5b76bfcf7..d44965f805fe9 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
@@ -118,10 +118,10 @@ g94_i2c_aux_xfer(struct nvkm_i2c_aux *obj, bool retry,
if (retries)
udelay(400);
- /* transaction request, wait up to 1ms for it to complete */
+ /* transaction request, wait up to 2ms for it to complete */
nvkm_wr32(device, 0x00e4e4 + base, 0x00010000 | ctrl);
- timeout = 1000;
+ timeout = 2000;
do {
ctrl = nvkm_rd32(device, 0x00e4e4 + base);
udelay...
2020 Jul 14
0
[PATCH AUTOSEL 4.4 9/9] drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
...b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
index 954f5b76bfcf7..d44965f805fe9 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxg94.c
@@ -118,10 +118,10 @@ g94_i2c_aux_xfer(struct nvkm_i2c_aux *obj, bool retry,
if (retries)
udelay(400);
- /* transaction request, wait up to 1ms for it to complete */
+ /* transaction request, wait up to 2ms for it to complete */
nvkm_wr32(device, 0x00e4e4 + base, 0x00010000 | ctrl);
- timeout = 1000;
+ timeout = 2000;
do {
ctrl = nvkm_rd32(device, 0x00e4e4 + base);
udelay...