Displaying 3 results from an estimated 3 matches for "81a5583".
Did you mean:
15583
2015 Nov 14
2
[PATCH v2] pmu: use nvkm_msec instead of do while
...v2: unlock mutex only if reply == true
Signed-off-by: Karol Herbst <nouveau at karolherbst.de>
---
drm/nouveau/nvkm/subdev/pmu/base.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drm/nouveau/nvkm/subdev/pmu/base.c b/drm/nouveau/nvkm/subdev/pmu/base.c
index 81a5583..eb248fd 100644
--- a/drm/nouveau/nvkm/subdev/pmu/base.c
+++ b/drm/nouveau/nvkm/subdev/pmu/base.c
@@ -100,9 +100,16 @@ nvkm_pmu_send(struct nvkm_pmu *pmu, u32 reply[2],
}
/* acquire data segment access */
- do {
+ nvkm_wr32(device, 0x10a580, 0x00000001);
+ if (nvkm_msec(device, 2000,
+ if (n...
2015 Nov 15
0
[PATCH v2] pmu: use nvkm_msec instead of do while
...<nouveau at karolherbst.de>
> > ---
> > drm/nouveau/nvkm/subdev/pmu/base.c | 11 +++++++++--
> > 1 file changed, 9 insertions(+), 2 deletions(-)
> >
> > diff --git a/drm/nouveau/nvkm/subdev/pmu/base.c
> > b/drm/nouveau/nvkm/subdev/pmu/base.c
> > index 81a5583..eb248fd 100644
> > --- a/drm/nouveau/nvkm/subdev/pmu/base.c
> > +++ b/drm/nouveau/nvkm/subdev/pmu/base.c
> > @@ -100,9 +100,16 @@ nvkm_pmu_send(struct nvkm_pmu *pmu, u32 reply[2],
> > }
> >
> > /* acquire data segment access */
> > - do {
> > + nvkm_...
2015 Nov 14
0
[PATCH v3] pmu: fix queued messages while getting no IRQ
...d
Signed-off-by: Karol Herbst <nouveau at karolherbst.de>
---
drm/nouveau/nvkm/subdev/pmu/base.c | 39 ++++++++++++++++++++++++++++++++++----
1 file changed, 35 insertions(+), 4 deletions(-)
diff --git a/drm/nouveau/nvkm/subdev/pmu/base.c b/drm/nouveau/nvkm/subdev/pmu/base.c
index 6b2007f..81a5583 100644
--- a/drm/nouveau/nvkm/subdev/pmu/base.c
+++ b/drm/nouveau/nvkm/subdev/pmu/base.c
@@ -43,6 +43,34 @@ nvkm_pmu_handle_reclk_request(struct work_struct *work)
nvkm_clk_pmu_reclk_request(clk, pmu->intr.data[0]);
}
+static int
+wait_for_pmu_reply(struct nvkm_pmu *pmu, u32 reply[2])
+{
+...