Subsystem - Hands On Projects For The Linux Graphics
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.
#include <GL/gl.h>
static int __init simple_driver_init(void) Hands On Projects For The Linux Graphics Subsystem
#include <drm/drm.h>
Next, we will create a DRM device, which represents a graphics device, such as a graphics card. Next, we will write the graphics driver code,