Displaying 3 results from an estimated 3 matches for "nvkm_pmu_ctor".
2016 Dec 13
0
[PATCH v2 5/15] pmu: add nvkm_pmu_ctor() function
...6db1ee45e610 100644
--- a/drm/nouveau/nvkm/subdev/pmu/base.c
+++ b/drm/nouveau/nvkm/subdev/pmu/base.c
@@ -128,13 +128,10 @@ nvkm_pmu = {
.intr = nvkm_pmu_intr,
};
-int
-nvkm_pmu_new_(const struct nvkm_pmu_func *func, struct nvkm_device *device,
- int index, struct nvkm_pmu **ppmu)
+void
+nvkm_pmu_ctor(const struct nvkm_pmu_func *func, struct nvkm_device *device,
+ int index, struct nvkm_pmu *pmu)
{
- struct nvkm_pmu *pmu;
- if (!(pmu = *ppmu = kzalloc(sizeof(*pmu), GFP_KERNEL)))
- return -ENOMEM;
nvkm_subdev_ctor(&nvkm_pmu, device, index, &pmu->subdev);
pmu->func = func...
2016 Dec 13
15
[PATCH v2 0/15] Falcon library
...cons instances into their owning subdev
* rework gk20a's PMU implementation and add dummy gm20b PMU driver
Alexandre Courbot (15):
core: constify nv*_printk macros
mc: add nvkm_mc_enabled() function
core: add falcon library functions
pmu: instanciate the falcon in PMU device
pmu: add nvkm_pmu_ctor() function
pmu/gk20a: use nvkm_pmu_ctor()
pmu/gk20a: simplify code a bit
pmu/gk20a: use falcon library functions
gm20b: add dummy PMU device
secboot: fix functions definitions
secboot: use falcon library
gr: add fini() hook
gr/gf100: split gf100_gr_init_ctxctl()
gr/gf100: instanti...
2016 Nov 21
33
[PATCH v4 0/33] Secure Boot refactoring / signed PMU firmware support for GM20B
...L structure
secboot: set default error value in error register
secboot: fix WPR descriptor generation
secboot: add lazy-bootstrap flag
secboot: store falcon's DMEM size in secboot structure
secboot: clear halt interrupt after ACR is run
core: add falcon DMEM read function
pmu: add nvkm_pmu_ctor function
pmu: make sure the reset hook exists before running it
secboot: add LS firmware post-run hooks
secboot: support for loading LS PMU firmware
secboot: base support for PMU falcon
secboot: write PMU firmware version into register
secboot: enable PMU in r352 ACR
secboot: support...