1 ===========================
2 drm/i915 Intel GFX Driver
3 ===========================
5 The drm/i915 driver supports all (with the exception of some very early
6 models) integrated GFX chipsets with both Intel display and rendering
7 blocks. This excludes a set of SoC platforms with an SGX rendering unit,
8 those have basic support through the gma500 drm driver.
10 Core Driver Infrastructure
11 ==========================
13 This section covers core driver infrastructure used by both the display
14 and the GEM parts of the driver.
16 Runtime Power Management
17 ------------------------
19 .. kernel-doc:: drivers/gpu/drm/i915/intel_runtime_pm.c
22 .. kernel-doc:: drivers/gpu/drm/i915/intel_runtime_pm.c
25 .. kernel-doc:: drivers/gpu/drm/i915/intel_uncore.c
31 .. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c
32 :doc: interrupt handling
34 .. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c
35 :functions: intel_irq_init intel_irq_init_hw intel_hpd_init
37 .. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c
38 :functions: intel_runtime_pm_disable_interrupts
40 .. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c
41 :functions: intel_runtime_pm_enable_interrupts
43 Intel GVT-g Guest Support(vGPU)
44 -------------------------------
46 .. kernel-doc:: drivers/gpu/drm/i915/i915_vgpu.c
47 :doc: Intel GVT-g guest support
49 .. kernel-doc:: drivers/gpu/drm/i915/i915_vgpu.c
52 Display Hardware Handling
53 =========================
55 This section covers everything related to the display hardware including
56 the mode setting infrastructure, plane, sprite and cursor handling and
57 display, output probing and related topics.
59 Mode Setting Infrastructure
60 ---------------------------
62 The i915 driver is thus far the only DRM driver which doesn't use the
63 common DRM helper code to implement mode setting sequences. Thus it has
64 its own tailor-made infrastructure for executing a display configuration
70 .. kernel-doc:: drivers/gpu/drm/i915/intel_frontbuffer.c
71 :doc: frontbuffer tracking
73 .. kernel-doc:: drivers/gpu/drm/i915/intel_frontbuffer.h
76 .. kernel-doc:: drivers/gpu/drm/i915/intel_frontbuffer.c
79 .. kernel-doc:: drivers/gpu/drm/i915/i915_gem.c
80 :functions: i915_gem_track_fb
82 Display FIFO Underrun Reporting
83 -------------------------------
85 .. kernel-doc:: drivers/gpu/drm/i915/intel_fifo_underrun.c
86 :doc: fifo underrun handling
88 .. kernel-doc:: drivers/gpu/drm/i915/intel_fifo_underrun.c
94 This section covers plane configuration and composition with the primary
95 plane, sprites, cursors and overlays. This includes the infrastructure
96 to do atomic vsync'ed updates of all this state and also tightly coupled
97 topics like watermark setup and computation, framebuffer compression and
103 .. kernel-doc:: drivers/gpu/drm/i915/intel_atomic_plane.c
104 :doc: atomic plane helpers
106 .. kernel-doc:: drivers/gpu/drm/i915/intel_atomic_plane.c
112 This section covers output probing and related infrastructure like the
113 hotplug interrupt storm detection and mitigation code. Note that the
114 i915 driver still uses most of the common DRM helper code for output
115 probing, so those sections fully apply.
120 .. kernel-doc:: drivers/gpu/drm/i915/intel_hotplug.c
123 .. kernel-doc:: drivers/gpu/drm/i915/intel_hotplug.c
126 High Definition Audio
127 ---------------------
129 .. kernel-doc:: drivers/gpu/drm/i915/intel_audio.c
130 :doc: High Definition Audio over HDMI and Display Port
132 .. kernel-doc:: drivers/gpu/drm/i915/intel_audio.c
135 .. kernel-doc:: include/drm/i915_component.h
138 Panel Self Refresh PSR (PSR/SRD)
139 --------------------------------
141 .. kernel-doc:: drivers/gpu/drm/i915/intel_psr.c
142 :doc: Panel Self Refresh (PSR/SRD)
144 .. kernel-doc:: drivers/gpu/drm/i915/intel_psr.c
147 Frame Buffer Compression (FBC)
148 ------------------------------
150 .. kernel-doc:: drivers/gpu/drm/i915/intel_fbc.c
151 :doc: Frame Buffer Compression (FBC)
153 .. kernel-doc:: drivers/gpu/drm/i915/intel_fbc.c
156 Display Refresh Rate Switching (DRRS)
157 -------------------------------------
159 .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c
160 :doc: Display Refresh Rate Switching (DRRS)
162 .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c
163 :functions: intel_dp_set_drrs_state
165 .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c
166 :functions: intel_edp_drrs_enable
168 .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c
169 :functions: intel_edp_drrs_disable
171 .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c
172 :functions: intel_edp_drrs_invalidate
174 .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c
175 :functions: intel_edp_drrs_flush
177 .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c
178 :functions: intel_dp_drrs_init
183 .. kernel-doc:: drivers/gpu/drm/i915/i915_reg.h
186 CSR firmware support for DMC
187 ----------------------------
189 .. kernel-doc:: drivers/gpu/drm/i915/intel_csr.c
190 :doc: csr support for dmc
192 .. kernel-doc:: drivers/gpu/drm/i915/intel_csr.c
195 Video BIOS Table (VBT)
196 ----------------------
198 .. kernel-doc:: drivers/gpu/drm/i915/intel_bios.c
199 :doc: Video BIOS Table (VBT)
201 .. kernel-doc:: drivers/gpu/drm/i915/intel_bios.c
204 .. kernel-doc:: drivers/gpu/drm/i915/intel_vbt_defs.h
207 Memory Management and Command Submission
208 ========================================
210 This sections covers all things related to the GEM implementation in the
216 .. kernel-doc:: drivers/gpu/drm/i915/i915_cmd_parser.c
217 :doc: batch buffer command parser
219 .. kernel-doc:: drivers/gpu/drm/i915/i915_cmd_parser.c
225 .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_batch_pool.c
228 .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_batch_pool.c
231 Logical Rings, Logical Ring Contexts and Execlists
232 --------------------------------------------------
234 .. kernel-doc:: drivers/gpu/drm/i915/intel_lrc.c
235 :doc: Logical Rings, Logical Ring Contexts and Execlists
237 .. kernel-doc:: drivers/gpu/drm/i915/intel_lrc.c
243 .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_gtt.c
244 :doc: Global GTT views
246 .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_gtt.c
249 GTT Fences and Swizzling
250 ------------------------
252 .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_fence.c
255 Global GTT Fence Handling
256 ~~~~~~~~~~~~~~~~~~~~~~~~~
258 .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_fence.c
259 :doc: fence register handling
261 Hardware Tiling and Swizzling Details
262 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
264 .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_fence.c
265 :doc: tiling swizzling details
270 .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_tiling.c
273 .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_tiling.c
274 :doc: buffer object tiling
276 Buffer Object Eviction
277 ----------------------
279 This section documents the interface functions for evicting buffer
280 objects to make space available in the virtual gpu address spaces. Note
281 that this is mostly orthogonal to shrinking buffer objects caches, which
282 has the goal to make main memory (shared with the gpu through the
283 unified memory architecture) available.
285 .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_evict.c
288 Buffer Object Memory Shrinking
289 ------------------------------
291 This section documents the interface function for shrinking memory usage
292 of buffer object caches. Shrinking is used to make main memory
293 available. Note that this is mostly orthogonal to evicting buffer
294 objects, which has the goal to make space in gpu virtual address spaces.
296 .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_shrinker.c
302 GuC-specific firmware loader
303 ----------------------------
305 .. kernel-doc:: drivers/gpu/drm/i915/intel_guc_loader.c
306 :doc: GuC-specific firmware loader
308 .. kernel-doc:: drivers/gpu/drm/i915/intel_guc_loader.c
311 GuC-based command submission
312 ----------------------------
314 .. kernel-doc:: drivers/gpu/drm/i915/i915_guc_submission.c
315 :doc: GuC-based command submission
317 .. kernel-doc:: drivers/gpu/drm/i915/i915_guc_submission.c
323 .. kernel-doc:: drivers/gpu/drm/i915/intel_guc_fwif.h
324 :doc: GuC Firmware Layout
329 This sections covers all things related to the tracepoints implemented
332 i915_ppgtt_create and i915_ppgtt_release
333 ----------------------------------------
335 .. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h
336 :doc: i915_ppgtt_create and i915_ppgtt_release tracepoints
338 i915_context_create and i915_context_free
339 -----------------------------------------
341 .. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h
342 :doc: i915_context_create and i915_context_free tracepoints
347 .. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h
348 :doc: switch_mm tracepoint
350 .. WARNING: DOCPROC directive not supported: !Cdrivers/gpu/drm/i915/i915_irq.c