<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>DMA-BUF on 技术笔记</title><link>https://deguiliu.github.io/tech-notes/tags/dma-buf/</link><description>Recent content in DMA-BUF on 技术笔记</description><generator>Hugo -- 0.170.1</generator><language>zh-cn</language><lastBuildDate>Wed, 25 Nov 2026 10:30:00 +0000</lastBuildDate><atom:link href="https://deguiliu.github.io/tech-notes/tags/dma-buf/index.xml" rel="self" type="application/rss+xml"/><item><title>从 /dev/mem 到 DMA-BUF：FPGA DMA 采集数据的内存管理迁移</title><link>https://deguiliu.github.io/tech-notes/posts/architecture/%E4%BB%8E-devmem-%E5%88%B0-dma-buffpga-dma-%E9%87%87%E9%9B%86%E6%95%B0%E6%8D%AE%E7%9A%84%E5%86%85%E5%AD%98%E7%AE%A1%E7%90%86%E8%BF%81%E7%A7%BB/</link><pubDate>Wed, 25 Nov 2026 10:30:00 +0000</pubDate><guid>https://deguiliu.github.io/tech-notes/posts/architecture/%E4%BB%8E-devmem-%E5%88%B0-dma-buffpga-dma-%E9%87%87%E9%9B%86%E6%95%B0%E6%8D%AE%E7%9A%84%E5%86%85%E5%AD%98%E7%AE%A1%E7%90%86%E8%BF%81%E7%A7%BB/</guid><description>以 FPGA DMA 直写 DDR、Linux 读取数据为主线，说明为什么把数据面从 /dev/mem 迁到 DMA-BUF，以及固定物理地址场景下如何用 u-dma-buf 落地。</description></item><item><title>u-dma-buf 源码解析：FPGA 用户态 DMA 缓冲的用法</title><link>https://deguiliu.github.io/tech-notes/posts/architecture/u_dma_buf_user_space_dma_buffer/</link><pubDate>Wed, 25 Nov 2026 12:50:00 +0800</pubDate><guid>https://deguiliu.github.io/tech-notes/posts/architecture/u_dma_buf_user_space_dma_buffer/</guid><description>以官方架构图为入口，介绍 ikwzm/udmabuf（u-dma-buf）的用途、最小使用方法、收益与代价，并给出落地检查清单。</description></item><item><title>V4L2 内核机制: ioctl 分发、缓冲流转与内存共享选型</title><link>https://deguiliu.github.io/tech-notes/posts/architecture/v4l2_kernel_mechanism/</link><pubDate>Mon, 23 Nov 2026 07:30:00 +0000</pubDate><guid>https://deguiliu.github.io/tech-notes/posts/architecture/v4l2_kernel_mechanism/</guid><description>从应用的一次 ioctl 往下追：V4L2 core 如何校验并分发命令，videobuf2 如何管理缓冲并回调驱动，一帧如何从传感器走到应用，以及共享内存、/dev/mem 与 DMA-BUF 三种共享做法各自的代价与选型。</description></item><item><title>SoC 视频取流四件事: 设备节点、缓冲队列、DMA-buf 与零拷贝管线</title><link>https://deguiliu.github.io/tech-notes/posts/architecture/soc_video_pipeline_v4l2_dma_buf/</link><pubDate>Mon, 23 Nov 2026 06:00:00 +0000</pubDate><guid>https://deguiliu.github.io/tech-notes/posts/architecture/soc_video_pipeline_v4l2_dma_buf/</guid><description>在 SoC 上用 Linux V4L2 取流，说到底是四件事：找到设备节点、拿到缓冲、把缓冲交给别的设备、整条链路不拷贝。本文给出多视频节点场景下的选型判断、videobuf2 缓冲队列的关键字段与丢帧判据、DMA-buf 导入导出的官方语义，以及 UVC 与 GStreamer 在跨 USB 与用户态编排中的分工。</description></item></channel></rss>