search for: skip_init

Displaying 4 results from an estimated 4 matches for "skip_init".

2015 Apr 08
3
[PATCH V2] pmu/gk20a: PMU boot support.
...turn ret; +} + +static int +gk20a_init_pmu_setup_sw(struct nvkm_pmu *ppmu) +{ + struct gk20a_pmu_priv *pmu = to_gk20a_priv(ppmu); + struct nvkm_pmu_priv_vm *ppmuvm = &pmu->pmuvm; + int err = 0; + int ret = 0; + + if (pmu->sw_ready) { + nv_debug(ppmu, "skipping init\n"); + goto skip_init; + } + + /* no infoRom script from vbios? */ + + /* TBD: sysmon subtask */ + + INIT_WORK(&pmu->isr_workq, gk20a_pmu_process_message); + + ret = nvkm_gpuobj_new(nv_object(ppmu), NULL, GK20A_PMU_TRACE_BUFSIZE, + 0, 0, &pmu->trace_buf.obj); + if (ret) + goto err; + ret = nvkm_gp...
2015 Mar 11
0
[PATCH] pmu/gk20a: PMU boot support.
...u->mutex_cnt; i++) { > + pmu->mutex[i].id = i; > + pmu->mutex[i].index = i; > + } > + pmu_seq_init(pmu); > + > + nv_debug(ppmu, "skipping init\n"); > + goto skip_init; > + } > + > + /* no infoRom script from vbios? */ > + > + /* TBD: sysmon subtask */ > + > + pmu->mutex_cnt = 0x00000010; > + pmu->mutex = kzalloc(pmu->mutex_cnt * > + sizeof(struct pmu_mutex), GFP_KERNEL); > +...
2015 Mar 11
3
[PATCH] pmu/gk20a: PMU boot support.
...uct pmu_priv_vm *ppmuvm = &pmuvm; + int i, err = 0; + int ret = 0; + + + if (pmu->sw_ready) { + + for (i = 0; i < pmu->mutex_cnt; i++) { + pmu->mutex[i].id = i; + pmu->mutex[i].index = i; + } + pmu_seq_init(pmu); + + nv_debug(ppmu, "skipping init\n"); + goto skip_init; + } + + /* no infoRom script from vbios? */ + + /* TBD: sysmon subtask */ + + pmu->mutex_cnt = 0x00000010; + pmu->mutex = kzalloc(pmu->mutex_cnt * + sizeof(struct pmu_mutex), GFP_KERNEL); + if (!pmu->mutex) { + err = -ENOMEM; + nv_error(ppmu, "not enough space ENOMEM\n");...
2015 Mar 12
2
[PATCH] pmu/gk20a: PMU boot support.
...u->mutex_cnt; i++) { > + pmu->mutex[i].id = i; > + pmu->mutex[i].index = i; > + } > + pmu_seq_init(pmu); > + > + nv_debug(ppmu, "skipping init\n"); > + goto skip_init; > + } > + > + /* no infoRom script from vbios? */ > + > + /* TBD: sysmon subtask */ > + > + pmu->mutex_cnt = 0x00000010; > + pmu->mutex = kzalloc(pmu->mutex_cnt * > + sizeof(struct pmu_mutex), GFP_KERNEL); > +...