Displaying 3 results from an estimated 3 matches for "flcnfw_dbg".
2024 Nov 14
2
[PATCH] nouveau: fw: sync dma after setup is called.
...t(struct nvkm_falcon_fw *fw, struct nvkm_subdev *user,
nvkm_falcon_fw_dtor_sigs(fw);
}
- /* after last write to the img, sync dma mappings */
- dma_sync_single_for_device(fw->fw.device->dev,
- fw->fw.phys,
- sg_dma_len(&fw->fw.mem.sgl),
- DMA_TO_DEVICE);
FLCNFW_DBG(fw, "resetting");
fw->func->reset(fw);
@@ -105,6 +100,12 @@ nvkm_falcon_fw_boot(struct nvkm_falcon_fw *fw, struct nvkm_subdev *user,
goto done;
}
+ /* after last write to the img, sync dma mappings */
+ dma_sync_single_for_device(fw->fw.device->dev,
+ fw->fw...
2024 Aug 15
2
[PATCH] nouveau/firmware: using dma non-coherent interfaces for fw loading. (v2)
...t(struct nvkm_falcon_fw *fw, struct nvkm_subdev *user,
nvkm_falcon_fw_dtor_sigs(fw);
}
+ /* after last write to the img, sync dma mappings */
+ dma_sync_single_for_device(fw->fw.device->dev,
+ fw->fw.phys,
+ sg_dma_len(&fw->fw.mem.sgl),
+ DMA_TO_DEVICE);
+
FLCNFW_DBG(fw, "resetting");
fw->func->reset(fw);
--
2.46.0
2024 Aug 16
1
[PATCH] nouveau/firmware: using dma non-coherent interfaces for fw loading. (v2)
...ser,
> nvkm_falcon_fw_dtor_sigs(fw);
> }
>
> + /* after last write to the img, sync dma mappings */
> + dma_sync_single_for_device(fw->fw.device->dev,
> + fw->fw.phys,
> + sg_dma_len(&fw->fw.mem.sgl),
> + DMA_TO_DEVICE);
> +
> FLCNFW_DBG(fw, "resetting");
> fw->func->reset(fw);
>
> --
> 2.46.0
>