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 | |
Takashi Iwai | eacc8da | 2017-01-26 10:50:43 +0100 | [diff] [blame] | 147 | Intel HDMI LPE Audio Support |
| 148 | ---------------------------- |
| 149 | |
| 150 | .. kernel-doc:: drivers/gpu/drm/i915/intel_lpe_audio.c |
| 151 | :doc: LPE Audio integration for HDMI or DP playback |
| 152 | |
| 153 | .. kernel-doc:: drivers/gpu/drm/i915/intel_lpe_audio.c |
| 154 | :internal: |
| 155 | |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 156 | Panel Self Refresh PSR (PSR/SRD) |
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_psr.c |
| 160 | :doc: Panel Self Refresh (PSR/SRD) |
| 161 | |
| 162 | .. kernel-doc:: drivers/gpu/drm/i915/intel_psr.c |
| 163 | :internal: |
| 164 | |
| 165 | Frame Buffer Compression (FBC) |
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_fbc.c |
| 169 | :doc: Frame Buffer Compression (FBC) |
| 170 | |
| 171 | .. kernel-doc:: drivers/gpu/drm/i915/intel_fbc.c |
| 172 | :internal: |
| 173 | |
| 174 | Display Refresh Rate Switching (DRRS) |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 175 | ------------------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 176 | |
| 177 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 178 | :doc: Display Refresh Rate Switching (DRRS) |
| 179 | |
| 180 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 181 | :functions: intel_dp_set_drrs_state |
| 182 | |
| 183 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 184 | :functions: intel_edp_drrs_enable |
| 185 | |
| 186 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 187 | :functions: intel_edp_drrs_disable |
| 188 | |
| 189 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 190 | :functions: intel_edp_drrs_invalidate |
| 191 | |
| 192 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 193 | :functions: intel_edp_drrs_flush |
| 194 | |
| 195 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c |
| 196 | :functions: intel_dp_drrs_init |
| 197 | |
| 198 | DPIO |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 199 | ---- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 200 | |
Ander Conselvan de Oliveira | f38861b | 2016-10-06 19:22:18 +0300 | [diff] [blame] | 201 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dpio_phy.c |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 202 | :doc: DPIO |
| 203 | |
| 204 | CSR firmware support for DMC |
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_csr.c |
| 208 | :doc: csr support for dmc |
| 209 | |
| 210 | .. kernel-doc:: drivers/gpu/drm/i915/intel_csr.c |
| 211 | :internal: |
| 212 | |
| 213 | Video BIOS Table (VBT) |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 214 | ---------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 215 | |
| 216 | .. kernel-doc:: drivers/gpu/drm/i915/intel_bios.c |
| 217 | :doc: Video BIOS Table (VBT) |
| 218 | |
| 219 | .. kernel-doc:: drivers/gpu/drm/i915/intel_bios.c |
| 220 | :internal: |
| 221 | |
| 222 | .. kernel-doc:: drivers/gpu/drm/i915/intel_vbt_defs.h |
| 223 | :internal: |
| 224 | |
Ander Conselvan de Oliveira | 294591c | 2016-12-29 17:22:11 +0200 | [diff] [blame] | 225 | Display PLLs |
| 226 | ------------ |
| 227 | |
| 228 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dpll_mgr.c |
| 229 | :doc: Display PLLs |
| 230 | |
| 231 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dpll_mgr.c |
| 232 | :internal: |
| 233 | |
| 234 | .. kernel-doc:: drivers/gpu/drm/i915/intel_dpll_mgr.h |
| 235 | :internal: |
| 236 | |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 237 | Memory Management and Command Submission |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 238 | ======================================== |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 239 | |
| 240 | This sections covers all things related to the GEM implementation in the |
| 241 | i915 driver. |
| 242 | |
| 243 | Batchbuffer Parsing |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 244 | ------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 245 | |
| 246 | .. kernel-doc:: drivers/gpu/drm/i915/i915_cmd_parser.c |
| 247 | :doc: batch buffer command parser |
| 248 | |
| 249 | .. kernel-doc:: drivers/gpu/drm/i915/i915_cmd_parser.c |
| 250 | :internal: |
| 251 | |
| 252 | Batchbuffer Pools |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 253 | ----------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 254 | |
| 255 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_batch_pool.c |
| 256 | :doc: batch pool |
| 257 | |
| 258 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_batch_pool.c |
| 259 | :internal: |
| 260 | |
| 261 | Logical Rings, Logical Ring Contexts and Execlists |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 262 | -------------------------------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 263 | |
| 264 | .. kernel-doc:: drivers/gpu/drm/i915/intel_lrc.c |
| 265 | :doc: Logical Rings, Logical Ring Contexts and Execlists |
| 266 | |
| 267 | .. kernel-doc:: drivers/gpu/drm/i915/intel_lrc.c |
| 268 | :internal: |
| 269 | |
| 270 | Global GTT views |
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_gtt.c |
| 274 | :doc: Global GTT views |
| 275 | |
| 276 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_gtt.c |
| 277 | :internal: |
| 278 | |
| 279 | GTT Fences and Swizzling |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 280 | ------------------------ |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 281 | |
Daniel Vetter | ebc896d | 2016-11-14 12:58:17 +0100 | [diff] [blame] | 282 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_fence_reg.c |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 283 | :internal: |
| 284 | |
| 285 | Global GTT Fence Handling |
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 | |
Daniel Vetter | ebc896d | 2016-11-14 12:58:17 +0100 | [diff] [blame] | 288 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_fence_reg.c |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 289 | :doc: fence register handling |
| 290 | |
| 291 | Hardware Tiling and Swizzling Details |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 292 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 293 | |
Daniel Vetter | ebc896d | 2016-11-14 12:58:17 +0100 | [diff] [blame] | 294 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_fence_reg.c |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 295 | :doc: tiling swizzling details |
| 296 | |
| 297 | Object Tiling IOCTLs |
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 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_tiling.c |
| 301 | :internal: |
| 302 | |
| 303 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_tiling.c |
| 304 | :doc: buffer object tiling |
| 305 | |
| 306 | Buffer Object Eviction |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 307 | ---------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 308 | |
| 309 | This section documents the interface functions for evicting buffer |
| 310 | objects to make space available in the virtual gpu address spaces. Note |
| 311 | that this is mostly orthogonal to shrinking buffer objects caches, which |
| 312 | has the goal to make main memory (shared with the gpu through the |
| 313 | unified memory architecture) available. |
| 314 | |
| 315 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_evict.c |
| 316 | :internal: |
| 317 | |
| 318 | Buffer Object Memory Shrinking |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 319 | ------------------------------ |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 320 | |
| 321 | This section documents the interface function for shrinking memory usage |
| 322 | of buffer object caches. Shrinking is used to make main memory |
| 323 | available. Note that this is mostly orthogonal to evicting buffer |
| 324 | objects, which has the goal to make space in gpu virtual address spaces. |
| 325 | |
| 326 | .. kernel-doc:: drivers/gpu/drm/i915/i915_gem_shrinker.c |
| 327 | :internal: |
| 328 | |
| 329 | GuC |
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 | GuC-specific firmware loader |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 333 | ---------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 334 | |
| 335 | .. kernel-doc:: drivers/gpu/drm/i915/intel_guc_loader.c |
| 336 | :doc: GuC-specific firmware loader |
| 337 | |
| 338 | .. kernel-doc:: drivers/gpu/drm/i915/intel_guc_loader.c |
| 339 | :internal: |
| 340 | |
| 341 | GuC-based command submission |
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_guc_submission.c |
| 345 | :doc: GuC-based command submission |
| 346 | |
| 347 | .. kernel-doc:: drivers/gpu/drm/i915/i915_guc_submission.c |
| 348 | :internal: |
| 349 | |
| 350 | GuC Firmware Layout |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 351 | ------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 352 | |
| 353 | .. kernel-doc:: drivers/gpu/drm/i915/intel_guc_fwif.h |
| 354 | :doc: GuC Firmware Layout |
| 355 | |
| 356 | Tracing |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 357 | ======= |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 358 | |
| 359 | This sections covers all things related to the tracepoints implemented |
| 360 | in the i915 driver. |
| 361 | |
| 362 | i915_ppgtt_create and i915_ppgtt_release |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 363 | ---------------------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 364 | |
| 365 | .. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h |
| 366 | :doc: i915_ppgtt_create and i915_ppgtt_release tracepoints |
| 367 | |
| 368 | i915_context_create and i915_context_free |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 369 | ----------------------------------------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 370 | |
| 371 | .. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h |
| 372 | :doc: i915_context_create and i915_context_free tracepoints |
| 373 | |
| 374 | switch_mm |
Jani Nikula | 2255402 | 2016-06-21 14:49:00 +0300 | [diff] [blame] | 375 | --------- |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 376 | |
| 377 | .. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h |
| 378 | :doc: switch_mm tracepoint |
| 379 | |
Robert Bragg | 16d98b3 | 2016-12-07 21:40:33 +0000 | [diff] [blame] | 380 | Perf |
| 381 | ==== |
| 382 | |
| 383 | Overview |
| 384 | -------- |
| 385 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 386 | :doc: i915 Perf Overview |
| 387 | |
| 388 | Comparison with Core Perf |
| 389 | ------------------------- |
| 390 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 391 | :doc: i915 Perf History and Comparison with Core Perf |
| 392 | |
| 393 | i915 Driver Entry Points |
| 394 | ------------------------ |
| 395 | |
| 396 | This section covers the entrypoints exported outside of i915_perf.c to |
| 397 | integrate with drm/i915 and to handle the `DRM_I915_PERF_OPEN` ioctl. |
| 398 | |
| 399 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 400 | :functions: i915_perf_init |
| 401 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 402 | :functions: i915_perf_fini |
| 403 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 404 | :functions: i915_perf_register |
| 405 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 406 | :functions: i915_perf_unregister |
| 407 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 408 | :functions: i915_perf_open_ioctl |
| 409 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 410 | :functions: i915_perf_release |
| 411 | |
| 412 | i915 Perf Stream |
| 413 | ---------------- |
| 414 | |
| 415 | This section covers the stream-semantics-agnostic structures and functions |
| 416 | for representing an i915 perf stream FD and associated file operations. |
| 417 | |
| 418 | .. kernel-doc:: drivers/gpu/drm/i915/i915_drv.h |
| 419 | :functions: i915_perf_stream |
| 420 | .. kernel-doc:: drivers/gpu/drm/i915/i915_drv.h |
| 421 | :functions: i915_perf_stream_ops |
| 422 | |
| 423 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 424 | :functions: read_properties_unlocked |
| 425 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 426 | :functions: i915_perf_open_ioctl_locked |
| 427 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 428 | :functions: i915_perf_destroy_locked |
| 429 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 430 | :functions: i915_perf_read |
| 431 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 432 | :functions: i915_perf_ioctl |
| 433 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 434 | :functions: i915_perf_enable_locked |
| 435 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 436 | :functions: i915_perf_disable_locked |
| 437 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 438 | :functions: i915_perf_poll |
| 439 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 440 | :functions: i915_perf_poll_locked |
| 441 | |
| 442 | i915 Perf Observation Architecture Stream |
| 443 | ----------------------------------------- |
| 444 | |
| 445 | .. kernel-doc:: drivers/gpu/drm/i915/i915_drv.h |
| 446 | :functions: i915_oa_ops |
| 447 | |
| 448 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 449 | :functions: i915_oa_stream_init |
| 450 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 451 | :functions: i915_oa_read |
| 452 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 453 | :functions: i915_oa_stream_enable |
| 454 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 455 | :functions: i915_oa_stream_disable |
| 456 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 457 | :functions: i915_oa_wait_unlocked |
| 458 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 459 | :functions: i915_oa_poll_wait |
| 460 | |
| 461 | All i915 Perf Internals |
| 462 | ----------------------- |
| 463 | |
| 464 | This section simply includes all currently documented i915 perf internals, in |
| 465 | no particular order, but may include some more minor utilities or platform |
| 466 | specific details than found in the more high-level sections. |
| 467 | |
| 468 | .. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c |
| 469 | :internal: |
| 470 | |
Jani Nikula | ca00c2b | 2016-06-21 14:48:58 +0300 | [diff] [blame] | 471 | .. WARNING: DOCPROC directive not supported: !Cdrivers/gpu/drm/i915/i915_irq.c |