GPU Driver Developer's Guide¶
- Introduction
- DRM Internals
- Driver Initialization
- Open/Close, File Operations and IOCTLs
- Misc Utilities
- Unit testing
- Legacy Support Code
- DRM Memory Management
- Kernel Mode Setting (KMS)
- Overview
- KMS Core Structures and Functions
- Modeset Base Object Abstraction
- Atomic Mode Setting
- CRTC Abstraction
- Frame Buffer Abstraction
- DRM Format Handling
- Dumb Buffer Objects
- Plane Abstraction
- Display Modes Function Reference
- Connector Abstraction
- Encoder Abstraction
- KMS Locking
- KMS Properties
- Requirements
- Property Types and Blob Property Support
- Standard Connector Properties
- HDMI Specific Connector Properties
- Analog TV Specific Connector Properties
- Standard CRTC Properties
- Standard Plane Properties
- Plane Composition Properties
- Damage Tracking Properties
- Color Management Properties
- Tile Group Property
- Explicit Fencing Properties
- Variable Refresh Properties
- Existing KMS Properties
- Vertical Blanking
- Vertical Blank Work
- Mode Setting Helper Functions
- Modeset Helper Reference for Common Vtables
- Atomic Modeset Helper Functions Reference
- Simple KMS Helper Reference
- fbdev Helper Functions Reference
- format Helper Functions Reference
- Framebuffer DMA Helper Functions Reference
- Framebuffer GEM Helper Reference
- Bridges
- Panel Helper Reference
- Panel Self Refresh Helper Reference
- HDCP Helper Functions Reference
- Display Port Helper Functions Reference
- Display Port CEC Helper Functions Reference
- Display Port Dual Mode Adaptor Helper Functions Reference
- Display Port MST Helpers
- MIPI DBI Helper Functions Reference
- MIPI DSI Helper Functions Reference
- Display Stream Compression Helper Functions Reference
- Output Probing Helper Functions Reference
- EDID Helper Functions Reference
- SCDC Helper Functions Reference
- HDMI Infoframes Helper Reference
- Rectangle Utilities Reference
- Flip-work Helper Reference
- Auxiliary Modeset Helpers
- OF/DT Helpers
- Legacy Plane Helper Reference
- Legacy CRTC/Modeset Helper Functions Reference
- Privacy-screen class
- Userland interfaces
- DRM client usage stats
- DRM Driver uAPI
- Kernel clients
- GPU Driver Documentation
- drm/amdgpu AMDgpu driver
- Module Parameters
- Core Driver Infrastructure
- drm/amd/display - Display Core (DC)
- dGPU firmware flashing
- AMDGPU XGMI Support
- AMDGPU RAS Support
- GPU Power/Thermal Controls and Monitoring
- Misc AMDGPU driver information
- AMDGPU Glossary
- drm/i915 Intel GFX Driver
- Core Driver Infrastructure
- Display Hardware Handling
- Mode Setting Infrastructure
- Frontbuffer Tracking
- Display FIFO Underrun Reporting
- Plane Configuration
- Atomic Plane Helpers
- Asynchronous Page Flip
- Output Probing
- Hotplug
- High Definition Audio
- Intel HDMI LPE Audio Support
- Panel Self Refresh PSR (PSR/SRD)
- Frame Buffer Compression (FBC)
- Display Refresh Rate Switching (DRRS)
- DPIO
- DMC Firmware Support
- Video BIOS Table (VBT)
- Display clocks
- Display PLLs
- Display State Buffer
- GT Programming
- Memory Management and Command Submission
- Intel GPU Basics
- Locking Guidelines
- GEM BO Management Implementation Details
- Buffer Object Eviction
- Buffer Object Memory Shrinking
- Batchbuffer Parsing
- User Batchbuffer Execution
- Scheduling
- Logical Rings, Logical Ring Contexts and Execlists
- Global GTT views
- GTT Fences and Swizzling
- Object Tiling IOCTLs
- Protected Objects
- Microcontrollers
- Tracing
- Perf
- Style
- i915 DRM client usage stats implementation
- drm/mcde ST-Ericsson MCDE Multi-channel display engine
- drm/meson AmLogic Meson Video Processing Unit
- drm/pl111 ARM PrimeCell PL110 and PL111 CLCD Driver
- drm/tegra NVIDIA Tegra GPU and display driver
- drm/tve200 Faraday TV Encoder 200
- drm/v3d Broadcom V3D Graphics Driver
- drm/vc4 Broadcom VC4 Graphics Driver
- drm/vkms Virtual Kernel Modesetting
- drm/bridge/dw-hdmi Synopsys DesignWare HDMI Controller
- drm/xen-front Xen para-virtualized frontend driver
- Arm Framebuffer Compression (AFBC)
- drm/komeda Arm display driver
- drm/amdgpu AMDgpu driver
- Backlight support
- VGA Switcheroo
- VGA Arbiter
- Automated testing of the DRM subsystem
- TODO list
- Difficulty
- Remove custom dumb_map_offset implementations
- Convert existing KMS drivers to atomic modesetting
- Clean up the clipped coordination confusion around planes
- Improve plane atomic_check helpers
- Convert early atomic drivers to async commit helpers
- Fallout from atomic KMS
- Get rid of dev->struct_mutex from GEM drivers
- Move Buffer Object Locking to dma_resv_lock()
- Convert logging to drm_* functions with drm_device parameter
- Convert drivers to use simple modeset suspend/resume
- Convert drivers to use drm_fbdev_generic_setup()
- Reimplement functions in drm_fbdev_fb_ops without fbdev
- Benchmark and optimize blitting and format-conversion function
- drm_framebuffer_funcs and drm_mode_config_funcs.fb_create cleanup
- Generic fbdev defio support
- connector register/unregister fixes
- Remove load/unload callbacks
- Replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi
- Consolidate custom driver modeset properties
- Use struct iosys_map throughout codebase
- Review all drivers for setting struct drm_mode_config.{max_width,max_height} correctly
- Request memory regions in all drivers
- Remove driver dependencies on FB_DEVICE
- Clean up checks for already prepared/enabled in panels
- Make panic handling work
- Clean up the debugfs support
- Object lifetime fixes
- Remove automatic page mapping from dma-buf importing
- Add unit tests using the Kernel Unit Testing (KUnit) framework
- Enable trinity for DRM
- Make KMS tests in i-g-t generic
- Extend virtual test driver (VKMS)
- Backlight Refactoring
- AMD DC Display Driver
- Convert fbdev drivers to DRM
- GPU RFC Section