Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 1 | =========================== |
| 2 | drm/i915 Intel GFX Driver |
| 3 | =========================== |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 4 | |
| 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. |
| 9 | |
| 10 | Core Driver Infrastructure |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 11 | ========================== |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 12 | |
| 13 | This section covers core driver infrastructure used by both the display |
| 14 | and the GEM parts of the driver. |
| 15 | |
| 16 | Runtime Power Management |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 17 | ------------------------ |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 18 | |
| 19 | .. kernel-doc:: drivers/gpu/drm/i915/intel_runtime_pm.c |
| 20 | :doc: runtime pm |
| 21 | |
| 22 | .. kernel-doc:: drivers/gpu/drm/i915/intel_runtime_pm.c |
| 23 | :internal: |
| 24 | |
| 25 | .. kernel-doc:: drivers/gpu/drm/i915/intel_uncore.c |
| 26 | :internal: |
| 27 | |
| 28 | Interrupt Handling |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 29 | ------------------ |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 30 | |
| 31 | .. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c |
| 32 | :doc: interrupt handling |
| 33 | |
| 34 | .. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c |
| 35 | :functions: intel_irq_init intel_irq_init_hw intel_hpd_init |
| 36 | |
| 37 | .. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c |
| 38 | :functions: intel_runtime_pm_disable_interrupts |
| 39 | |
| 40 | .. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c |
| 41 | :functions: intel_runtime_pm_enable_interrupts |
| 42 | |
| 43 | Intel GVT-g Guest Support(vGPU) |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 44 | ------------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 45 | |
| 46 | .. kernel-doc:: drivers/gpu/drm/i915/i915_vgpu.c |
| 47 | :doc: Intel GVT-g guest support |
| 48 | |
| 49 | .. kernel-doc:: drivers/gpu/drm/i915/i915_vgpu.c |
| 50 | :internal: |
| 51 | |
Zhenyu Wang | 22681c7 | 2016-10-19 14:40:59 +0800 | [diff] [blame^] | 52 | Intel GVT-g Host Support(vGPU device model) |
| 53 | ------------------------------------------- |
| 54 | |
| 55 | .. kernel-doc:: drivers/gpu/drm/i915/intel_gvt.c |
| 56 | :doc: Intel GVT-g host support |
| 57 | |
| 58 | .. kernel-doc:: drivers/gpu/drm/i915/intel_gvt.c |
| 59 | :internal: |
| 60 | |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 61 | Display Hardware Handling |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 62 | ========================= |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 63 | |
| 64 | This section covers everything related to the display hardware including |
| 65 | the mode setting infrastructure, plane, sprite and cursor handling and |
| 66 | display, output probing and related topics. |
| 67 | |
| 68 | Mode Setting Infrastructure |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 69 | --------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 70 | |
| 71 | The i915 driver is thus far the only DRM driver which doesn't use the |
| 72 | common DRM helper code to implement mode setting sequences. Thus it has |
| 73 | its own tailor-made infrastructure for executing a display configuration |
| 74 | change. |
| 75 | |
| 76 | Frontbuffer Tracking |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 77 | -------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 78 | |
| 79 | .. kernel-doc:: drivers/gpu/drm/i915/intel_frontbuffer.c |
| 80 | :doc: frontbuffer tracking |
| 81 | |
Chris Wilson | 5d723d7 | 2016-08-04 16:32:35 +0100 | [diff] [blame] | 82 | .. kernel-doc:: drivers/gpu/drm/i915/intel_frontbuffer.h |
| 83 | :internal: |
| 84 | |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 85 | .. kernel-doc:: drivers/gpu/drm/i915/intel_frontbuffer.c |
| 86 | :internal: |
| 87 | |
| 88 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem.c |
| 89 | :functions: i915_gem_track_fb |
| 90 | |
| 91 | Display FIFO Underrun Reporting |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 92 | ------------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 93 | |
| 94 | .. kernel-doc:: drivers/gpu/drm/i915/intel_fifo_underrun.c |
| 95 | :doc: fifo underrun handling |
| 96 | |
| 97 | .. kernel-doc:: drivers/gpu/drm/i915/intel_fifo_underrun.c |
| 98 | :internal: |
| 99 | |
| 100 | Plane Configuration |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 101 | ------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 102 | |
| 103 | This section covers plane configuration and composition with the primary |
| 104 | plane, sprites, cursors and overlays. This includes the infrastructure |
| 105 | to do atomic vsync'ed updates of all this state and also tightly coupled |
| 106 | topics like watermark setup and computation, framebuffer compression and |
| 107 | panel self refresh. |
| 108 | |
| 109 | Atomic Plane Helpers |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 110 | -------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 111 | |
| 112 | .. kernel-doc:: drivers/gpu/drm/i915/intel_atomic_plane.c |
| 113 | :doc: atomic plane helpers |
| 114 | |
| 115 | .. kernel-doc:: drivers/gpu/drm/i915/intel_atomic_plane.c |
| 116 | :internal: |
| 117 | |
| 118 | Output Probing |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 119 | -------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 120 | |
| 121 | This section covers output probing and related infrastructure like the |
| 122 | hotplug interrupt storm detection and mitigation code. Note that the |
| 123 | i915 driver still uses most of the common DRM helper code for output |
| 124 | probing, so those sections fully apply. |
| 125 | |
| 126 | Hotplug |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 127 | ------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 128 | |
| 129 | .. kernel-doc:: drivers/gpu/drm/i915/intel_hotplug.c |
| 130 | :doc: Hotplug |
| 131 | |
| 132 | .. kernel-doc:: drivers/gpu/drm/i915/intel_hotplug.c |
| 133 | :internal: |
| 134 | |
| 135 | High Definition Audio |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 136 | --------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 137 | |
| 138 | .. kernel-doc:: drivers/gpu/drm/i915/intel_audio.c |
| 139 | :doc: High Definition Audio over HDMI and Display Port |
| 140 | |
| 141 | .. kernel-doc:: drivers/gpu/drm/i915/intel_audio.c |
| 142 | :internal: |
| 143 | |
| 144 | .. kernel-doc:: include/drm/i915_component.h |
| 145 | :internal: |
| 146 | |
| 147 | Panel Self Refresh PSR (PSR/SRD) |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 148 | -------------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 149 | |
| 150 | .. kernel-doc:: drivers/gpu/drm/i915/intel_psr.c |
| 151 | :doc: Panel Self Refresh (PSR/SRD) |
| 152 | |
| 153 | .. kernel-doc:: drivers/gpu/drm/i915/intel_psr.c |
| 154 | :internal: |
| 155 | |
| 156 | Frame Buffer Compression (FBC) |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 157 | ------------------------------ |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 158 | |
| 159 | .. kernel-doc:: drivers/gpu/drm/i915/intel_fbc.c |
| 160 | :doc: Frame Buffer Compression (FBC) |
| 161 | |
| 162 | .. kernel-doc:: drivers/gpu/drm/i915/intel_fbc.c |
| 163 | :internal: |
| 164 | |
| 165 | Display Refresh Rate Switching (DRRS) |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 166 | ------------------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 167 | |
| 168 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 169 | :doc: Display Refresh Rate Switching (DRRS) |
| 170 | |
| 171 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 172 | :functions: intel_dp_set_drrs_state |
| 173 | |
| 174 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 175 | :functions: intel_edp_drrs_enable |
| 176 | |
| 177 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 178 | :functions: intel_edp_drrs_disable |
| 179 | |
| 180 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 181 | :functions: intel_edp_drrs_invalidate |
| 182 | |
| 183 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 184 | :functions: intel_edp_drrs_flush |
| 185 | |
| 186 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 187 | :functions: intel_dp_drrs_init |
| 188 | |
| 189 | DPIO |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 190 | ---- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 191 | |
| 192 | .. kernel-doc:: drivers/gpu/drm/i915/i915_reg.h |
| 193 | :doc: DPIO |
| 194 | |
| 195 | CSR firmware support for DMC |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 196 | ---------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 197 | |
| 198 | .. kernel-doc:: drivers/gpu/drm/i915/intel_csr.c |
| 199 | :doc: csr support for dmc |
| 200 | |
| 201 | .. kernel-doc:: drivers/gpu/drm/i915/intel_csr.c |
| 202 | :internal: |
| 203 | |
| 204 | Video BIOS Table (VBT) |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 205 | ---------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 206 | |
| 207 | .. kernel-doc:: drivers/gpu/drm/i915/intel_bios.c |
| 208 | :doc: Video BIOS Table (VBT) |
| 209 | |
| 210 | .. kernel-doc:: drivers/gpu/drm/i915/intel_bios.c |
| 211 | :internal: |
| 212 | |
| 213 | .. kernel-doc:: drivers/gpu/drm/i915/intel_vbt_defs.h |
| 214 | :internal: |
| 215 | |
| 216 | Memory Management and Command Submission |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 217 | ======================================== |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 218 | |
| 219 | This sections covers all things related to the GEM implementation in the |
| 220 | i915 driver. |
| 221 | |
| 222 | Batchbuffer Parsing |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 223 | ------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 224 | |
| 225 | .. kernel-doc:: drivers/gpu/drm/i915/i915_cmd_parser.c |
| 226 | :doc: batch buffer command parser |
| 227 | |
| 228 | .. kernel-doc:: drivers/gpu/drm/i915/i915_cmd_parser.c |
| 229 | :internal: |
| 230 | |
| 231 | Batchbuffer Pools |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 232 | ----------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 233 | |
| 234 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_batch_pool.c |
| 235 | :doc: batch pool |
| 236 | |
| 237 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_batch_pool.c |
| 238 | :internal: |
| 239 | |
| 240 | Logical Rings, Logical Ring Contexts and Execlists |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 241 | -------------------------------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 242 | |
| 243 | .. kernel-doc:: drivers/gpu/drm/i915/intel_lrc.c |
| 244 | :doc: Logical Rings, Logical Ring Contexts and Execlists |
| 245 | |
| 246 | .. kernel-doc:: drivers/gpu/drm/i915/intel_lrc.c |
| 247 | :internal: |
| 248 | |
| 249 | Global GTT views |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 250 | ---------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 251 | |
| 252 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_gtt.c |
| 253 | :doc: Global GTT views |
| 254 | |
| 255 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_gtt.c |
| 256 | :internal: |
| 257 | |
| 258 | GTT Fences and Swizzling |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 259 | ------------------------ |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 260 | |
| 261 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_fence.c |
| 262 | :internal: |
| 263 | |
| 264 | Global GTT Fence Handling |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 265 | ~~~~~~~~~~~~~~~~~~~~~~~~~ |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 266 | |
| 267 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_fence.c |
| 268 | :doc: fence register handling |
| 269 | |
| 270 | Hardware Tiling and Swizzling Details |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 271 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 272 | |
| 273 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_fence.c |
| 274 | :doc: tiling swizzling details |
| 275 | |
| 276 | Object Tiling IOCTLs |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 277 | -------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 278 | |
| 279 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_tiling.c |
| 280 | :internal: |
| 281 | |
| 282 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_tiling.c |
| 283 | :doc: buffer object tiling |
| 284 | |
| 285 | Buffer Object Eviction |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 286 | ---------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 287 | |
| 288 | This section documents the interface functions for evicting buffer |
| 289 | objects to make space available in the virtual gpu address spaces. Note |
| 290 | that this is mostly orthogonal to shrinking buffer objects caches, which |
| 291 | has the goal to make main memory (shared with the gpu through the |
| 292 | unified memory architecture) available. |
| 293 | |
| 294 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_evict.c |
| 295 | :internal: |
| 296 | |
| 297 | Buffer Object Memory Shrinking |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 298 | ------------------------------ |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 299 | |
| 300 | This section documents the interface function for shrinking memory usage |
| 301 | of buffer object caches. Shrinking is used to make main memory |
| 302 | available. Note that this is mostly orthogonal to evicting buffer |
| 303 | objects, which has the goal to make space in gpu virtual address spaces. |
| 304 | |
| 305 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_shrinker.c |
| 306 | :internal: |
| 307 | |
| 308 | GuC |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 309 | === |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 310 | |
| 311 | GuC-specific firmware loader |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 312 | ---------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 313 | |
| 314 | .. kernel-doc:: drivers/gpu/drm/i915/intel_guc_loader.c |
| 315 | :doc: GuC-specific firmware loader |
| 316 | |
| 317 | .. kernel-doc:: drivers/gpu/drm/i915/intel_guc_loader.c |
| 318 | :internal: |
| 319 | |
| 320 | GuC-based command submission |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 321 | ---------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 322 | |
| 323 | .. kernel-doc:: drivers/gpu/drm/i915/i915_guc_submission.c |
| 324 | :doc: GuC-based command submission |
| 325 | |
| 326 | .. kernel-doc:: drivers/gpu/drm/i915/i915_guc_submission.c |
| 327 | :internal: |
| 328 | |
| 329 | GuC Firmware Layout |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 330 | ------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 331 | |
| 332 | .. kernel-doc:: drivers/gpu/drm/i915/intel_guc_fwif.h |
| 333 | :doc: GuC Firmware Layout |
| 334 | |
| 335 | Tracing |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 336 | ======= |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 337 | |
| 338 | This sections covers all things related to the tracepoints implemented |
| 339 | in the i915 driver. |
| 340 | |
| 341 | i915_ppgtt_create and i915_ppgtt_release |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 342 | ---------------------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 343 | |
| 344 | .. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h |
| 345 | :doc: i915_ppgtt_create and i915_ppgtt_release tracepoints |
| 346 | |
| 347 | i915_context_create and i915_context_free |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 348 | ----------------------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 349 | |
| 350 | .. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h |
| 351 | :doc: i915_context_create and i915_context_free tracepoints |
| 352 | |
| 353 | switch_mm |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 354 | --------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 355 | |
| 356 | .. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h |
| 357 | :doc: switch_mm tracepoint |
| 358 | |
| 359 | .. WARNING: DOCPROC directive not supported: !Cdrivers/gpu/drm/i915/i915_irq.c |