Displaying 6 results from an estimated 6 matches for "addr_load".
2015 Apr 13
3
[PATCH v4] pmu/gk20a: PMU boot support
...uobj_map_vm(nv_gpuobj(priv->trace_buf.obj), pmuvm->vm,
+ NV_MEM_ACCESS_RW, &priv->trace_buf.vma);
+ if (ret)
+ return ret;
+
+ return 0;
+}
+
+static int
+gk20a_pmu_bootstrap(struct gk20a_pmu_priv *priv)
+{
+ struct pmu_ucode_desc *desc = priv->desc;
+ u32 addr_code, addr_data, addr_load;
+ u32 i, blocks, addr_args;
+ struct pmu_cmdline_args_gk20a cmdline_args;
+ struct nvkm_pmu_priv_vm *pmuvm = &priv->pmuvm;
+
+ nv_mask(priv, 0x0010a048, 0x01, 0x01);
+ /*bind the address*/
+ nv_wr32(priv, 0x0010a480,
+ pmuvm->mem->addr >> 12 |
+ 0x1 << 30 |
+ 0x20000000...
2015 Apr 08
3
[PATCH V2] pmu/gk20a: PMU boot support.
...w_ready = true;
+
+skip_init:
+ return 0;
+map_err:
+ nvkm_gpuobj_destroy(pmu->trace_buf.obj);
+err:
+ return err;
+}
+
+static int
+pmu_bootstrap(struct gk20a_pmu_priv *pmu)
+{
+ struct nvkm_pmu *ppmu = &pmu->base;
+ struct pmu_ucode_desc *desc = pmu->desc;
+ u32 addr_code, addr_data, addr_load;
+ u32 i, blocks, addr_args;
+ struct pmu_cmdline_args_gk20a cmdline_args;
+ struct nvkm_pmu_priv_vm *ppmuvm = &pmu->pmuvm;
+ nv_mask(ppmu, 0x0010a048, 0x01, 0x01);
+ /*bind the address*/
+ nv_wr32(ppmu, 0x0010a480,
+ ppmuvm->mem->addr >> 12 |
+ 0x1 << 30 |
+ 0x20000000)...
2015 Apr 30
2
[PATCH v4] pmu/gk20a: PMU boot support
...ret)
>> + return ret;
>> +
>> + return 0;
>> +}
>> +
>> +static int
>> +gk20a_pmu_bootstrap(struct gk20a_pmu_priv *priv)
>> +{
>> + struct pmu_ucode_desc *desc = priv->desc;
>> + u32 addr_code, addr_data, addr_load;
>> + u32 i, blocks, addr_args;
>> + struct pmu_cmdline_args_gk20a cmdline_args;
>> + struct nvkm_pmu_priv_vm *pmuvm = &priv->pmuvm;
>> +
>> + nv_mask(priv, 0x0010a048, 0x01, 0x01);
>> + /*bind the address*/
>> + n...
2015 Mar 11
0
[PATCH] pmu/gk20a: PMU boot support.
...> + return 0;
> +}
> +
> +static int pmu_bootstrap(struct pmu_desc *pmu)
> +{
> + struct nvkm_pmu *ppmu = (void *)nvkm_pmu((void *)
> + impl_from_pmu(pmu));
> + struct pmu_ucode_desc *desc = pmu->desc;
> + u64 addr_code, addr_data, addr_load;
> + u32 i, blocks, addr_args;
> + u32 *adr_data, *adr_load, *adr_code;
> + struct pmu_cmdline_args_gk20a cmdline_args;
> + struct pmu_priv_vm *ppmuvm = &pmuvm;
> +
> + nv_wr32(ppmu, 0x0010a048,
> + nv_rd32(ppmu, 0x0010a048) | 0x0...
2015 Mar 11
3
[PATCH] pmu/gk20a: PMU boot support.
...+ return err;
+
+ err = pmu_enable(ppmu, pmc, true);
+ if (err)
+ return err;
+
+ return 0;
+}
+
+static int pmu_bootstrap(struct pmu_desc *pmu)
+{
+ struct nvkm_pmu *ppmu = (void *)nvkm_pmu((void *)
+ impl_from_pmu(pmu));
+ struct pmu_ucode_desc *desc = pmu->desc;
+ u64 addr_code, addr_data, addr_load;
+ u32 i, blocks, addr_args;
+ u32 *adr_data, *adr_load, *adr_code;
+ struct pmu_cmdline_args_gk20a cmdline_args;
+ struct pmu_priv_vm *ppmuvm = &pmuvm;
+
+ nv_wr32(ppmu, 0x0010a048,
+ nv_rd32(ppmu, 0x0010a048) | 0x01);
+ /*bind the address*/
+ nv_wr32(ppmu, 0x0010a480,
+ ppmuvm->mem->a...
2015 Mar 12
2
[PATCH] pmu/gk20a: PMU boot support.
...> + return 0;
> +}
> +
> +static int pmu_bootstrap(struct pmu_desc *pmu)
> +{
> + struct nvkm_pmu *ppmu = (void *)nvkm_pmu((void *)
> + impl_from_pmu(pmu));
> + struct pmu_ucode_desc *desc = pmu->desc;
> + u64 addr_code, addr_data, addr_load;
> + u32 i, blocks, addr_args;
> + u32 *adr_data, *adr_load, *adr_code;
> + struct pmu_cmdline_args_gk20a cmdline_args;
> + struct pmu_priv_vm *ppmuvm = &pmuvm;
> +
> + nv_wr32(ppmu, 0x0010a048,
> + nv_rd32(ppmu, 0x0010a048) | 0x0...