Displaying 3 results from an estimated 3 matches for "gid_data".
Did you mean:
g2d_data
2015 Mar 11
0
[PATCH] pmu/gk20a: PMU boot support.
...t; +static int pmu_process_init_msg(struct pmu_desc *pmu,
> + struct pmu_msg *msg)
> +{
> + struct nvkm_pmu *ppmu = (void *)nvkm_pmu((void *)
> + impl_from_pmu(pmu));
> + struct pmu_init_msg_pmu_gk20a *init;
> + struct pmu_sha1_gid_data gid_data;
> + u32 i, tail = 0;
> +
> + tail = nv_rd32(ppmu, 0x0010a4cc) & 0xffffffff;
> +
> + pmu_copy_from_dmem(pmu, tail,
> + (u8 *)&msg->hdr, PMU_MSG_HDR_SIZE, 0);
> +
> + if (msg->hdr.unit_id != PMU_UNIT_INIT) {
> +...
2015 Mar 11
3
[PATCH] pmu/gk20a: PMU boot support.
...lays);
+
+ nv_debug(ppmu, "compressed = %u\n", desc->compressed);
+}
+
+static int pmu_process_init_msg(struct pmu_desc *pmu,
+ struct pmu_msg *msg)
+{
+ struct nvkm_pmu *ppmu = (void *)nvkm_pmu((void *)
+ impl_from_pmu(pmu));
+ struct pmu_init_msg_pmu_gk20a *init;
+ struct pmu_sha1_gid_data gid_data;
+ u32 i, tail = 0;
+
+ tail = nv_rd32(ppmu, 0x0010a4cc) & 0xffffffff;
+
+ pmu_copy_from_dmem(pmu, tail,
+ (u8 *)&msg->hdr, PMU_MSG_HDR_SIZE, 0);
+
+ if (msg->hdr.unit_id != PMU_UNIT_INIT) {
+ nv_error(ppmu,
+ "expecting init msg");
+ return -EINVAL;
+ }
+
+ pm...
2015 Mar 12
2
[PATCH] pmu/gk20a: PMU boot support.
...t; +static int pmu_process_init_msg(struct pmu_desc *pmu,
> + struct pmu_msg *msg)
> +{
> + struct nvkm_pmu *ppmu = (void *)nvkm_pmu((void *)
> + impl_from_pmu(pmu));
> + struct pmu_init_msg_pmu_gk20a *init;
> + struct pmu_sha1_gid_data gid_data;
> + u32 i, tail = 0;
> +
> + tail = nv_rd32(ppmu, 0x0010a4cc) & 0xffffffff;
> +
> + pmu_copy_from_dmem(pmu, tail,
> + (u8 *)&msg->hdr, PMU_MSG_HDR_SIZE, 0);
> +
> + if (msg->hdr.unit_id != PMU_UNIT_INIT) {
> +...