<?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>Books on GPUers</title><link>https://en.gpuers.cn/book/</link><description>Recent content in Books on GPUers</description><image><title>GPUers</title><url>https://en.gpuers.cn/img/og-cover-en.png</url><link>https://en.gpuers.cn/img/og-cover-en.png</link></image><generator>Hugo</generator><language>en-US</language><atom:link href="https://en.gpuers.cn/book/index.xml" rel="self" type="application/rss+xml"/><item><title>Linux GPU Driver Internals</title><link>https://en.gpuers.cn/book/linux-gpu-driver-internals/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://en.gpuers.cn/book/linux-gpu-driver-internals/</guid><description>&lt;p&gt;A GPU driver has two core jobs: managing the memory the GPU can access, and handing the GPU commands that use that memory. In Linux, the DRM subsystem provides the shared machinery for both. GEM and TTM manage buffer objects (BOs) and their backing storage. dma-buf and dma-fence handle sharing and synchronization. The GPU scheduler and drm_gpuvm handle job scheduling and GPU virtual address spaces.&lt;/p&gt;
&lt;p&gt;This book explains that machinery as one system. It follows a buffer object through its life, from allocation and placement to sharing, synchronization, scheduling, mapping into GPU address spaces, command submission and shared virtual memory. Each mechanism is presented in the same order: the problem it solves and the hardware behind it, the design trade-offs, the kernel implementation, and how the amdgpu, Xe and panthor drivers use it. The code baseline is Linux 7.1.&lt;/p&gt;</description><content:encoded>&lt;p>A GPU driver has two core jobs: managing the memory the GPU can access, and handing the GPU commands that use that memory. In Linux, the DRM subsystem provides the shared machinery for both. GEM and TTM manage buffer objects (BOs) and their backing storage. dma-buf and dma-fence handle sharing and synchronization. The GPU scheduler and drm_gpuvm handle job scheduling and GPU virtual address spaces.&lt;/p>
&lt;p>This book explains that machinery as one system. It follows a buffer object through its life, from allocation and placement to sharing, synchronization, scheduling, mapping into GPU address spaces, command submission and shared virtual memory. Each mechanism is presented in the same order: the problem it solves and the hardware behind it, the design trade-offs, the kernel implementation, and how the amdgpu, Xe and panthor drivers use it. The code baseline is Linux 7.1.&lt;/p>
</content:encoded></item></channel></rss>