Hands On Projects For The Linux Graphics Subsystem -

Next, we will write the graphics driver code, which consists of several functions that implement the kernel-mode graphics driver API. We will use the Linux kernel's module API to load and unload our driver.

Every modern GPU connects to the host system via the Peripheral Component Interconnect Express (PCIe) bus. Operating systems discover and configure hardware devices by reading a dedicated block of registers known as the PCI Configuration Space. Hands On Projects For The Linux Graphics Subsystem