GPU
文章平均质量分 70
Konwledging
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
DMA Direct Memory Access
该函数将cpu_addr表示的段虚拟地址映射到DMA缓冲区中,返回该缓冲区的dma_addr_t设备总线起始地址.而且往往对每次DMA传输都会重新建立一个流式映射的缓冲区,所以使用流式DMA映射时,流式DMA映射的特点是DMA传输通道使用的缓冲区不是由当前驱动程序自身分配的,linux内核DMA层为设备驱动提供的建立流式DMA映射的函数。设备驱动程序必须小心负责处理可能出现的cache一致性.原创 2024-01-01 22:09:08 · 682 阅读 · 0 评论 -
poll & epoll & select & eventfd
poll 是一种 I/O 多路复用技术,用于监视多个文件描述符的状态(如可读、可写或异常)。它比传统的 select 更高效,尤其在处理大量文件描述符时。原创 2025-09-08 08:55:04 · 473 阅读 · 0 评论 -
dma_resv
【代码】dma_resv。原创 2025-12-01 17:03:33 · 148 阅读 · 0 评论 -
WW-Mutex中两种算法
如果持有锁的是新事务,那么正在请求锁的事务就选择等待如果持有锁的是老事务,那么正在请求锁的事务就放弃请求并终止场景: 事务A启动于10:00, 事务B启动于10:05, 事务C启动于10:10, 如果B持有锁,A和B同时去获取锁,那么结果是怎样?原创 2025-12-01 11:26:45 · 442 阅读 · 0 评论 -
drm prime和 dma_buf
原创 2025-12-01 17:49:19 · 138 阅读 · 0 评论 -
dma-buf
【代码】dma-buf。原创 2021-07-20 00:08:59 · 604 阅读 · 0 评论 -
GEM和TTM
【代码】GEM和TTM。原创 2025-12-01 17:57:03 · 252 阅读 · 0 评论 -
sg_table and scatterlist
sg_table and scatterlist原创 2023-12-26 23:04:51 · 1952 阅读 · 0 评论 -
OpenGL VBO and VAO
【代码】OpenGL VBO and VAO。原创 2023-03-22 23:09:38 · 406 阅读 · 0 评论 -
LunarG Vulkan Validiation Layer
1 useful linkhttps://vulkan.lunarg.com/doc/sdk/1.3.211.0/linux/layer_configuration.html2 Configure Vulkan LayersConfiguring Vulkan Layers using Vulkan Configurator .Developers can configure layers through a graphical user interface. Vulkan Configurator原创 2022-04-19 19:46:20 · 574 阅读 · 0 评论 -
Framebuffer
FramebufferA Framebuffer is a collection of buffers that can be used as the destination for rendering.OpenGL has two kinds of framebuffers: the Default Framebuffer, which is provided by the OpenGL Context; and user-created framebuffers called Framebu原创 2022-01-19 10:10:32 · 379 阅读 · 0 评论 -
OpenGL Buffer Object
1 Buffer ObjectBuffer Objects are OpenGL Objects that store an array of unformatted memory allocated by the OpenGL context (AKA(also know as) the GPU). These can be used to store vertex data, pixel data retrieved from images or the framebuffer, and a va原创 2022-01-14 14:19:17 · 407 阅读 · 0 评论 -
OpenGL Context
1 OpenGL ContextAn OpenGL context represents many things.A context stores all of the state associated with this instance of OpenGL.It represents the (potentially visible) default framebuffer that rendering commands will draw to when not drawing to a fr原创 2022-01-13 16:49:04 · 460 阅读 · 0 评论 -
Configure and build Mesa3D
1 环境Mesa3D 21.1.4Mesa3D-demosUbuntu 20.042 配置环境sudo apt install gcc;sudo apt install g++;sudo apt install vim;sudo apt install libx11-xcb-dev;sudo apt install libxext-dev;sudo apt install libxfixes-dev;sudo apt install libxcb-glx0-dev;sudo ap原创 2021-08-11 14:21:48 · 508 阅读 · 1 评论
分享