Displaying 6 results from an estimated 6 matches for "nvkm_engine_nvdec".
2023 Jul 14
2
[PATCH] drm/nouveau/fifo:Fix Nineteen occurrences of the gk104.c error: ERROR: : trailing statements should be on next line
...SEC : ptr0 = 0x0220; break;
- case NVKM_ENGINE_MSPDEC: ptr0 = 0x0250; break;
- case NVKM_ENGINE_MSPPP : ptr0 = 0x0260; break;
- case NVKM_ENGINE_MSVLD : ptr0 = 0x0270; break;
- case NVKM_ENGINE_VIC : ptr0 = 0x0280; break;
- case NVKM_ENGINE_MSENC : ptr0 = 0x0290; break;
- case NVKM_ENGINE_NVDEC :
+ case NVKM_ENGINE_SW:
+ return;
+ case NVKM_ENGINE_GR:
+ ptr0 = 0x0210;
+ break;
+ case NVKM_ENGINE_SEC:
+ ptr0 = 0x0220;
+ break;
+ case NVKM_ENGINE_MSPDEC:
+ ptr0 = 0x0250;
+ break;
+ case NVKM_ENGINE_MSPPP:
+ ptr0 = 0x0260...
2023 Jul 14
1
[PATCH] drm/nouveau/fifo:Fix Nineteen occurrences of the gk104.c error: ERROR: space prohibited before that ':' (ctx:WxW) ERROR: trailing statements should be on next line ERROR: space prohibited before that ':' (ctx:WxW) ERROR: trailing statements should
...SEC : ptr0 = 0x0220; break;
- case NVKM_ENGINE_MSPDEC: ptr0 = 0x0250; break;
- case NVKM_ENGINE_MSPPP : ptr0 = 0x0260; break;
- case NVKM_ENGINE_MSVLD : ptr0 = 0x0270; break;
- case NVKM_ENGINE_VIC : ptr0 = 0x0280; break;
- case NVKM_ENGINE_MSENC : ptr0 = 0x0290; break;
- case NVKM_ENGINE_NVDEC :
+ case NVKM_ENGINE_SW:
+ return;
+ case NVKM_ENGINE_GR:
+ ptr0 = 0x0210;
+ break;
+ case NVKM_ENGINE_SEC:
+ ptr0 = 0x0220;
+ break;
+ case NVKM_ENGINE_MSPDEC:
+ ptr0 = 0x0250;
+ break;
+ case NVKM_ENGINE_MSPPP:
+ ptr0 = 0x0260...
2023 Jul 24
1
[PATCH] drm/nouveau/fifo:Fix Nineteen occurrences of the gk104.c error: ERROR: space prohibited before that ':' (ctx:WxW) ERROR: trailing statements should be on next line ERROR: space prohibited before that ':' (ctx:WxW) ERROR: trailing statements should
...> - case NVKM_ENGINE_MSPDEC: ptr0 = 0x0250; break;
> - case NVKM_ENGINE_MSPPP : ptr0 = 0x0260; break;
> - case NVKM_ENGINE_MSVLD : ptr0 = 0x0270; break;
> - case NVKM_ENGINE_VIC : ptr0 = 0x0280; break;
> - case NVKM_ENGINE_MSENC : ptr0 = 0x0290; break;
> - case NVKM_ENGINE_NVDEC :
> + case NVKM_ENGINE_SW:
> + return;
> + case NVKM_ENGINE_GR:
> + ptr0 = 0x0210;
> + break;
> + case NVKM_ENGINE_SEC:
> + ptr0 = 0x0220;
> + break;
> + case NVKM_ENGINE_MSPDEC:
> + ptr0 = 0x0250;
> + bre...
2023 Jul 14
1
[PATCH] drm/nouveau/fifo:Fix Nineteen occurrences of the gk104.c error: ERROR: : trailing statements should be on next line
...> - case NVKM_ENGINE_MSPDEC: ptr0 = 0x0250; break;
> - case NVKM_ENGINE_MSPPP : ptr0 = 0x0260; break;
> - case NVKM_ENGINE_MSVLD : ptr0 = 0x0270; break;
> - case NVKM_ENGINE_VIC : ptr0 = 0x0280; break;
> - case NVKM_ENGINE_MSENC : ptr0 = 0x0290; break;
> - case NVKM_ENGINE_NVDEC :
> + case NVKM_ENGINE_SW:
> + return;
> + case NVKM_ENGINE_GR:
> + ptr0 = 0x0210;
> + break;
> + case NVKM_ENGINE_SEC:
> + ptr0 = 0x0220;
> + break;
> + case NVKM_ENGINE_MSPDEC:
> + ptr0 = 0x0250;
> + bre...
2016 Dec 06
0
[PATCH 3/8] core: add falcon library functions
...;<invalid>",
+};
+
+static const struct {
+ enum nvkm_devidx devidx;
+ u32 addr;
+} falcon_props[] = {
+ [NVKM_FALCON_PMU] = { NVKM_SUBDEV_PMU, 0x10a000 },
+ [NVKM_FALCON_FECS] = { NVKM_ENGINE_GR, 0x409000 },
+ [NVKM_FALCON_GPCCS] = { NVKM_ENGINE_GR, 0x41a000 },
+ [NVKM_FALCON_NVDEC] = { NVKM_ENGINE_NVDEC, 0x84000 },
+ [NVKM_FALCON_SEC2] = { NVKM_ENGINE_SEC, 0x87000 },
+ [NVKM_FALCON_END] = { NVKM_SUBDEV_NR, 0x0 },
+};
+
+static struct nvkm_falcon *
+nvkm_falcon_find(const struct nvkm_subdev *subdev, enum nvkm_falconidx id)
+{
+ struct nvkm_device *device = subdev->device;
+ struct nvkm_falcon *f...
2016 Dec 06
9
[PATCH 0/8] Falcon library
This was the first step of the secure boot refactoring - as Ben asked for some
fixes, I now submit it as its own series to make it easier to review (and also
because rebasing secure boot on top of this takes time and I don't want to do
it until this is validated!).
This series attempts to factorize the duplicate falcon-related code into a
single library, using the existing nvkm_falcon