search for: eb248fd

Displaying 2 results from an estimated 2 matches for "eb248fd".

2015 Nov 14
2
[PATCH v2] pmu: use nvkm_msec instead of do while
...k 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 (nvkm_rd32(...
2015 Nov 15
0
[PATCH v2] pmu: use nvkm_msec instead of do while
...eau 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(devi...