Displaying 3 results from an estimated 3 matches for "fifoch".
2016 Jul 27
1
[PATCH] gr/nv3x: fix instobj write offsets in gr setup
...rtions(+), 4 deletions(-)
diff --git a/drm/nouveau/nvkm/engine/gr/nv30.c b/drm/nouveau/nvkm/engine/gr/nv30.c
index 69de8c6..f1e15a4 100644
--- a/drm/nouveau/nvkm/engine/gr/nv30.c
+++ b/drm/nouveau/nvkm/engine/gr/nv30.c
@@ -76,8 +76,8 @@ nv30_gr_chan_new(struct nvkm_gr *base, struct nvkm_fifo_chan *fifoch,
nvkm_wo32(chan->inst, i, 0x00040004);
for (i = 0x1f18; i <= 0x3088 ; i += 16) {
nvkm_wo32(chan->inst, i + 0, 0x10700ff9);
- nvkm_wo32(chan->inst, i + 1, 0x0436086c);
- nvkm_wo32(chan->inst, i + 2, 0x000c001b);
+ nvkm_wo32(chan->inst, i + 4, 0x0436086c);
+ nvkm_wo32(ch...
2024 Mar 15
1
[PATCH][next] drm/nouveau/gr/gf100: Remove second semicolon
...eau/nvkm/engine/gr/gf100.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
index 986e8d547c94..060c74a80eb1 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
@@ -420,7 +420,7 @@ gf100_gr_chan_new(struct nvkm_gr *base, struct nvkm_chan *fifoch,
return ret;
} else {
ret = nvkm_memory_map(gr->attrib_cb, 0, chan->vmm, chan->attrib_cb,
- &args, sizeof(args));;
+ &args, sizeof(args));
if (ret)
return ret;
}
--
2.39.2
2024 Oct 29
0
[PATCH] drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()
...f100.c b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
> index 060c74a80eb1..3ea447f6a45b 100644
> --- a/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
> +++ b/drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
> @@ -443,6 +443,7 @@ gf100_gr_chan_new(struct nvkm_gr *base, struct nvkm_chan *fifoch,
> ret = gf100_grctx_generate(gr, chan, fifoch->inst);
> if (ret) {
> nvkm_error(&base->engine.subdev, "failed to construct context\n");
> + mutex_unlock(&gr->fecs.mutex);
> return ret;
> }
> }
--
Cheers,
Lyude Paul (she/her)...