122554020SJani Nikula=========================== 2ca00c2b9SJani Nikula drm/i915 Intel GFX Driver 322554020SJani Nikula=========================== 4ca00c2b9SJani Nikula 5ca00c2b9SJani NikulaThe drm/i915 driver supports all (with the exception of some very early 6ca00c2b9SJani Nikulamodels) integrated GFX chipsets with both Intel display and rendering 7ca00c2b9SJani Nikulablocks. This excludes a set of SoC platforms with an SGX rendering unit, 8ca00c2b9SJani Nikulathose have basic support through the gma500 drm driver. 9ca00c2b9SJani Nikula 10ca00c2b9SJani NikulaCore Driver Infrastructure 1122554020SJani Nikula========================== 12ca00c2b9SJani Nikula 13ca00c2b9SJani NikulaThis section covers core driver infrastructure used by both the display 14ca00c2b9SJani Nikulaand the GEM parts of the driver. 15ca00c2b9SJani Nikula 16ca00c2b9SJani NikulaRuntime Power Management 1722554020SJani Nikula------------------------ 18ca00c2b9SJani Nikula 19ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_runtime_pm.c 20ca00c2b9SJani Nikula :doc: runtime pm 21ca00c2b9SJani Nikula 22ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_runtime_pm.c 23ca00c2b9SJani Nikula :internal: 24ca00c2b9SJani Nikula 25ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_uncore.c 26ca00c2b9SJani Nikula :internal: 27ca00c2b9SJani Nikula 28ca00c2b9SJani NikulaInterrupt Handling 2922554020SJani Nikula------------------ 30ca00c2b9SJani Nikula 31ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c 32ca00c2b9SJani Nikula :doc: interrupt handling 33ca00c2b9SJani Nikula 34ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c 35ca00c2b9SJani Nikula :functions: intel_irq_init intel_irq_init_hw intel_hpd_init 36ca00c2b9SJani Nikula 37ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c 38ca00c2b9SJani Nikula :functions: intel_runtime_pm_disable_interrupts 39ca00c2b9SJani Nikula 40ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_irq.c 41ca00c2b9SJani Nikula :functions: intel_runtime_pm_enable_interrupts 42ca00c2b9SJani Nikula 43ca00c2b9SJani NikulaIntel GVT-g Guest Support(vGPU) 4422554020SJani Nikula------------------------------- 45ca00c2b9SJani Nikula 46ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_vgpu.c 47ca00c2b9SJani Nikula :doc: Intel GVT-g guest support 48ca00c2b9SJani Nikula 49ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_vgpu.c 50ca00c2b9SJani Nikula :internal: 51ca00c2b9SJani Nikula 5222681c7bSZhenyu WangIntel GVT-g Host Support(vGPU device model) 5322681c7bSZhenyu Wang------------------------------------------- 5422681c7bSZhenyu Wang 5522681c7bSZhenyu Wang.. kernel-doc:: drivers/gpu/drm/i915/intel_gvt.c 5622681c7bSZhenyu Wang :doc: Intel GVT-g host support 5722681c7bSZhenyu Wang 5822681c7bSZhenyu Wang.. kernel-doc:: drivers/gpu/drm/i915/intel_gvt.c 5922681c7bSZhenyu Wang :internal: 6022681c7bSZhenyu Wang 61ca00c2b9SJani NikulaDisplay Hardware Handling 6222554020SJani Nikula========================= 63ca00c2b9SJani Nikula 64ca00c2b9SJani NikulaThis section covers everything related to the display hardware including 65ca00c2b9SJani Nikulathe mode setting infrastructure, plane, sprite and cursor handling and 66ca00c2b9SJani Nikuladisplay, output probing and related topics. 67ca00c2b9SJani Nikula 68ca00c2b9SJani NikulaMode Setting Infrastructure 6922554020SJani Nikula--------------------------- 70ca00c2b9SJani Nikula 71ca00c2b9SJani NikulaThe i915 driver is thus far the only DRM driver which doesn't use the 72ca00c2b9SJani Nikulacommon DRM helper code to implement mode setting sequences. Thus it has 73ca00c2b9SJani Nikulaits own tailor-made infrastructure for executing a display configuration 74ca00c2b9SJani Nikulachange. 75ca00c2b9SJani Nikula 76ca00c2b9SJani NikulaFrontbuffer Tracking 7722554020SJani Nikula-------------------- 78ca00c2b9SJani Nikula 79ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_frontbuffer.c 80ca00c2b9SJani Nikula :doc: frontbuffer tracking 81ca00c2b9SJani Nikula 825d723d7aSChris Wilson.. kernel-doc:: drivers/gpu/drm/i915/intel_frontbuffer.h 835d723d7aSChris Wilson :internal: 845d723d7aSChris Wilson 85ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_frontbuffer.c 86ca00c2b9SJani Nikula :internal: 87ca00c2b9SJani Nikula 88ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_gem.c 89ca00c2b9SJani Nikula :functions: i915_gem_track_fb 90ca00c2b9SJani Nikula 91ca00c2b9SJani NikulaDisplay FIFO Underrun Reporting 9222554020SJani Nikula------------------------------- 93ca00c2b9SJani Nikula 94ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_fifo_underrun.c 95ca00c2b9SJani Nikula :doc: fifo underrun handling 96ca00c2b9SJani Nikula 97ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_fifo_underrun.c 98ca00c2b9SJani Nikula :internal: 99ca00c2b9SJani Nikula 100ca00c2b9SJani NikulaPlane Configuration 10122554020SJani Nikula------------------- 102ca00c2b9SJani Nikula 103ca00c2b9SJani NikulaThis section covers plane configuration and composition with the primary 104ca00c2b9SJani Nikulaplane, sprites, cursors and overlays. This includes the infrastructure 105ca00c2b9SJani Nikulato do atomic vsync'ed updates of all this state and also tightly coupled 106ca00c2b9SJani Nikulatopics like watermark setup and computation, framebuffer compression and 107ca00c2b9SJani Nikulapanel self refresh. 108ca00c2b9SJani Nikula 109ca00c2b9SJani NikulaAtomic Plane Helpers 11022554020SJani Nikula-------------------- 111ca00c2b9SJani Nikula 112ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_atomic_plane.c 113ca00c2b9SJani Nikula :doc: atomic plane helpers 114ca00c2b9SJani Nikula 115ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_atomic_plane.c 116ca00c2b9SJani Nikula :internal: 117ca00c2b9SJani Nikula 118ca00c2b9SJani NikulaOutput Probing 11922554020SJani Nikula-------------- 120ca00c2b9SJani Nikula 121ca00c2b9SJani NikulaThis section covers output probing and related infrastructure like the 122ca00c2b9SJani Nikulahotplug interrupt storm detection and mitigation code. Note that the 123ca00c2b9SJani Nikulai915 driver still uses most of the common DRM helper code for output 124ca00c2b9SJani Nikulaprobing, so those sections fully apply. 125ca00c2b9SJani Nikula 126ca00c2b9SJani NikulaHotplug 12722554020SJani Nikula------- 128ca00c2b9SJani Nikula 129ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_hotplug.c 130ca00c2b9SJani Nikula :doc: Hotplug 131ca00c2b9SJani Nikula 132ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_hotplug.c 133ca00c2b9SJani Nikula :internal: 134ca00c2b9SJani Nikula 135ca00c2b9SJani NikulaHigh Definition Audio 13622554020SJani Nikula--------------------- 137ca00c2b9SJani Nikula 138ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_audio.c 139ca00c2b9SJani Nikula :doc: High Definition Audio over HDMI and Display Port 140ca00c2b9SJani Nikula 141ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_audio.c 142ca00c2b9SJani Nikula :internal: 143ca00c2b9SJani Nikula 144ca00c2b9SJani Nikula.. kernel-doc:: include/drm/i915_component.h 145ca00c2b9SJani Nikula :internal: 146ca00c2b9SJani Nikula 147eacc8dafSTakashi IwaiIntel HDMI LPE Audio Support 148eacc8dafSTakashi Iwai---------------------------- 149eacc8dafSTakashi Iwai 150eacc8dafSTakashi Iwai.. kernel-doc:: drivers/gpu/drm/i915/intel_lpe_audio.c 151eacc8dafSTakashi Iwai :doc: LPE Audio integration for HDMI or DP playback 152eacc8dafSTakashi Iwai 153eacc8dafSTakashi Iwai.. kernel-doc:: drivers/gpu/drm/i915/intel_lpe_audio.c 154eacc8dafSTakashi Iwai :internal: 155eacc8dafSTakashi Iwai 156ca00c2b9SJani NikulaPanel Self Refresh PSR (PSR/SRD) 15722554020SJani Nikula-------------------------------- 158ca00c2b9SJani Nikula 159ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_psr.c 160ca00c2b9SJani Nikula :doc: Panel Self Refresh (PSR/SRD) 161ca00c2b9SJani Nikula 162ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_psr.c 163ca00c2b9SJani Nikula :internal: 164ca00c2b9SJani Nikula 165ca00c2b9SJani NikulaFrame Buffer Compression (FBC) 16622554020SJani Nikula------------------------------ 167ca00c2b9SJani Nikula 168ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_fbc.c 169ca00c2b9SJani Nikula :doc: Frame Buffer Compression (FBC) 170ca00c2b9SJani Nikula 171ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_fbc.c 172ca00c2b9SJani Nikula :internal: 173ca00c2b9SJani Nikula 174ca00c2b9SJani NikulaDisplay Refresh Rate Switching (DRRS) 17522554020SJani Nikula------------------------------------- 176ca00c2b9SJani Nikula 177ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c 178ca00c2b9SJani Nikula :doc: Display Refresh Rate Switching (DRRS) 179ca00c2b9SJani Nikula 180ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c 181ca00c2b9SJani Nikula :functions: intel_dp_set_drrs_state 182ca00c2b9SJani Nikula 183ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c 184ca00c2b9SJani Nikula :functions: intel_edp_drrs_enable 185ca00c2b9SJani Nikula 186ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c 187ca00c2b9SJani Nikula :functions: intel_edp_drrs_disable 188ca00c2b9SJani Nikula 189ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c 190ca00c2b9SJani Nikula :functions: intel_edp_drrs_invalidate 191ca00c2b9SJani Nikula 192ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c 193ca00c2b9SJani Nikula :functions: intel_edp_drrs_flush 194ca00c2b9SJani Nikula 195ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_dp.c 196ca00c2b9SJani Nikula :functions: intel_dp_drrs_init 197ca00c2b9SJani Nikula 198ca00c2b9SJani NikulaDPIO 19922554020SJani Nikula---- 200ca00c2b9SJani Nikula 201f38861b8SAnder Conselvan de Oliveira.. kernel-doc:: drivers/gpu/drm/i915/intel_dpio_phy.c 202ca00c2b9SJani Nikula :doc: DPIO 203ca00c2b9SJani Nikula 204ca00c2b9SJani NikulaCSR firmware support for DMC 20522554020SJani Nikula---------------------------- 206ca00c2b9SJani Nikula 207ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_csr.c 208ca00c2b9SJani Nikula :doc: csr support for dmc 209ca00c2b9SJani Nikula 210ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_csr.c 211ca00c2b9SJani Nikula :internal: 212ca00c2b9SJani Nikula 213ca00c2b9SJani NikulaVideo BIOS Table (VBT) 21422554020SJani Nikula---------------------- 215ca00c2b9SJani Nikula 216ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_bios.c 217ca00c2b9SJani Nikula :doc: Video BIOS Table (VBT) 218ca00c2b9SJani Nikula 219ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_bios.c 220ca00c2b9SJani Nikula :internal: 221ca00c2b9SJani Nikula 222ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_vbt_defs.h 223ca00c2b9SJani Nikula :internal: 224ca00c2b9SJani Nikula 2257ff89ca2SVille SyrjäläDisplay clocks 2267ff89ca2SVille Syrjälä-------------- 2277ff89ca2SVille Syrjälä 2287ff89ca2SVille Syrjälä.. kernel-doc:: drivers/gpu/drm/i915/intel_cdclk.c 2297ff89ca2SVille Syrjälä :doc: CDCLK / RAWCLK 2307ff89ca2SVille Syrjälä 2317ff89ca2SVille Syrjälä.. kernel-doc:: drivers/gpu/drm/i915/intel_cdclk.c 2327ff89ca2SVille Syrjälä :internal: 2337ff89ca2SVille Syrjälä 234294591cfSAnder Conselvan de OliveiraDisplay PLLs 235294591cfSAnder Conselvan de Oliveira------------ 236294591cfSAnder Conselvan de Oliveira 237294591cfSAnder Conselvan de Oliveira.. kernel-doc:: drivers/gpu/drm/i915/intel_dpll_mgr.c 238294591cfSAnder Conselvan de Oliveira :doc: Display PLLs 239294591cfSAnder Conselvan de Oliveira 240294591cfSAnder Conselvan de Oliveira.. kernel-doc:: drivers/gpu/drm/i915/intel_dpll_mgr.c 241294591cfSAnder Conselvan de Oliveira :internal: 242294591cfSAnder Conselvan de Oliveira 243294591cfSAnder Conselvan de Oliveira.. kernel-doc:: drivers/gpu/drm/i915/intel_dpll_mgr.h 244294591cfSAnder Conselvan de Oliveira :internal: 245294591cfSAnder Conselvan de Oliveira 246ca00c2b9SJani NikulaMemory Management and Command Submission 24722554020SJani Nikula======================================== 248ca00c2b9SJani Nikula 249ca00c2b9SJani NikulaThis sections covers all things related to the GEM implementation in the 250ca00c2b9SJani Nikulai915 driver. 251ca00c2b9SJani Nikula 252ca00c2b9SJani NikulaBatchbuffer Parsing 25322554020SJani Nikula------------------- 254ca00c2b9SJani Nikula 255ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_cmd_parser.c 256ca00c2b9SJani Nikula :doc: batch buffer command parser 257ca00c2b9SJani Nikula 258ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_cmd_parser.c 259ca00c2b9SJani Nikula :internal: 260ca00c2b9SJani Nikula 261ca00c2b9SJani NikulaBatchbuffer Pools 26222554020SJani Nikula----------------- 263ca00c2b9SJani Nikula 264ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_gem_batch_pool.c 265ca00c2b9SJani Nikula :doc: batch pool 266ca00c2b9SJani Nikula 267ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_gem_batch_pool.c 268ca00c2b9SJani Nikula :internal: 269ca00c2b9SJani Nikula 270ca00c2b9SJani NikulaLogical Rings, Logical Ring Contexts and Execlists 27122554020SJani Nikula-------------------------------------------------- 272ca00c2b9SJani Nikula 273ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_lrc.c 274ca00c2b9SJani Nikula :doc: Logical Rings, Logical Ring Contexts and Execlists 275ca00c2b9SJani Nikula 276ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_lrc.c 277ca00c2b9SJani Nikula :internal: 278ca00c2b9SJani Nikula 279ca00c2b9SJani NikulaGlobal GTT views 28022554020SJani Nikula---------------- 281ca00c2b9SJani Nikula 282ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_gem_gtt.c 283ca00c2b9SJani Nikula :doc: Global GTT views 284ca00c2b9SJani Nikula 285ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_gem_gtt.c 286ca00c2b9SJani Nikula :internal: 287ca00c2b9SJani Nikula 288ca00c2b9SJani NikulaGTT Fences and Swizzling 28922554020SJani Nikula------------------------ 290ca00c2b9SJani Nikula 291ebc896dbSDaniel Vetter.. kernel-doc:: drivers/gpu/drm/i915/i915_gem_fence_reg.c 292ca00c2b9SJani Nikula :internal: 293ca00c2b9SJani Nikula 294ca00c2b9SJani NikulaGlobal GTT Fence Handling 29522554020SJani Nikula~~~~~~~~~~~~~~~~~~~~~~~~~ 296ca00c2b9SJani Nikula 297ebc896dbSDaniel Vetter.. kernel-doc:: drivers/gpu/drm/i915/i915_gem_fence_reg.c 298ca00c2b9SJani Nikula :doc: fence register handling 299ca00c2b9SJani Nikula 300ca00c2b9SJani NikulaHardware Tiling and Swizzling Details 30122554020SJani Nikula~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 302ca00c2b9SJani Nikula 303ebc896dbSDaniel Vetter.. kernel-doc:: drivers/gpu/drm/i915/i915_gem_fence_reg.c 304ca00c2b9SJani Nikula :doc: tiling swizzling details 305ca00c2b9SJani Nikula 306ca00c2b9SJani NikulaObject Tiling IOCTLs 30722554020SJani Nikula-------------------- 308ca00c2b9SJani Nikula 309ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_gem_tiling.c 310ca00c2b9SJani Nikula :internal: 311ca00c2b9SJani Nikula 312ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_gem_tiling.c 313ca00c2b9SJani Nikula :doc: buffer object tiling 314ca00c2b9SJani Nikula 315ca00c2b9SJani NikulaBuffer Object Eviction 31622554020SJani Nikula---------------------- 317ca00c2b9SJani Nikula 318ca00c2b9SJani NikulaThis section documents the interface functions for evicting buffer 319ca00c2b9SJani Nikulaobjects to make space available in the virtual gpu address spaces. Note 320ca00c2b9SJani Nikulathat this is mostly orthogonal to shrinking buffer objects caches, which 321ca00c2b9SJani Nikulahas the goal to make main memory (shared with the gpu through the 322ca00c2b9SJani Nikulaunified memory architecture) available. 323ca00c2b9SJani Nikula 324ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_gem_evict.c 325ca00c2b9SJani Nikula :internal: 326ca00c2b9SJani Nikula 327ca00c2b9SJani NikulaBuffer Object Memory Shrinking 32822554020SJani Nikula------------------------------ 329ca00c2b9SJani Nikula 330ca00c2b9SJani NikulaThis section documents the interface function for shrinking memory usage 331ca00c2b9SJani Nikulaof buffer object caches. Shrinking is used to make main memory 332ca00c2b9SJani Nikulaavailable. Note that this is mostly orthogonal to evicting buffer 333ca00c2b9SJani Nikulaobjects, which has the goal to make space in gpu virtual address spaces. 334ca00c2b9SJani Nikula 335ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_gem_shrinker.c 336ca00c2b9SJani Nikula :internal: 337ca00c2b9SJani Nikula 338*fbe6f8f2SYaodong LiWOPCM 339*fbe6f8f2SYaodong Li===== 340*fbe6f8f2SYaodong Li 341*fbe6f8f2SYaodong LiWOPCM Layout 342*fbe6f8f2SYaodong Li------------ 343*fbe6f8f2SYaodong Li 344*fbe6f8f2SYaodong Li.. kernel-doc:: drivers/gpu/drm/i915/intel_wopcm.c 345*fbe6f8f2SYaodong Li :doc: WOPCM Layout 346*fbe6f8f2SYaodong Li 347ca00c2b9SJani NikulaGuC 34822554020SJani Nikula=== 349ca00c2b9SJani Nikula 350ca00c2b9SJani NikulaGuC-specific firmware loader 35122554020SJani Nikula---------------------------- 352ca00c2b9SJani Nikula 353006c2332SRandy Dunlap.. kernel-doc:: drivers/gpu/drm/i915/intel_guc_fw.c 354ca00c2b9SJani Nikula :internal: 355ca00c2b9SJani Nikula 356ca00c2b9SJani NikulaGuC-based command submission 35722554020SJani Nikula---------------------------- 358ca00c2b9SJani Nikula 359a2695744SSagar Arun Kamble.. kernel-doc:: drivers/gpu/drm/i915/intel_guc_submission.c 360ca00c2b9SJani Nikula :doc: GuC-based command submission 361ca00c2b9SJani Nikula 362a2695744SSagar Arun Kamble.. kernel-doc:: drivers/gpu/drm/i915/intel_guc_submission.c 363ca00c2b9SJani Nikula :internal: 364ca00c2b9SJani Nikula 365ca00c2b9SJani NikulaGuC Firmware Layout 36622554020SJani Nikula------------------- 367ca00c2b9SJani Nikula 368ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/intel_guc_fwif.h 369ca00c2b9SJani Nikula :doc: GuC Firmware Layout 370ca00c2b9SJani Nikula 371*fbe6f8f2SYaodong LiGuC Address Space 372*fbe6f8f2SYaodong Li----------------- 373*fbe6f8f2SYaodong Li 374*fbe6f8f2SYaodong Li.. kernel-doc:: drivers/gpu/drm/i915/intel_guc.c 375*fbe6f8f2SYaodong Li :doc: GuC Address Space 376*fbe6f8f2SYaodong Li 377ca00c2b9SJani NikulaTracing 37822554020SJani Nikula======= 379ca00c2b9SJani Nikula 380ca00c2b9SJani NikulaThis sections covers all things related to the tracepoints implemented 381ca00c2b9SJani Nikulain the i915 driver. 382ca00c2b9SJani Nikula 383ca00c2b9SJani Nikulai915_ppgtt_create and i915_ppgtt_release 38422554020SJani Nikula---------------------------------------- 385ca00c2b9SJani Nikula 386ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h 387ca00c2b9SJani Nikula :doc: i915_ppgtt_create and i915_ppgtt_release tracepoints 388ca00c2b9SJani Nikula 389ca00c2b9SJani Nikulai915_context_create and i915_context_free 39022554020SJani Nikula----------------------------------------- 391ca00c2b9SJani Nikula 392ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h 393ca00c2b9SJani Nikula :doc: i915_context_create and i915_context_free tracepoints 394ca00c2b9SJani Nikula 395ca00c2b9SJani Nikulaswitch_mm 39622554020SJani Nikula--------- 397ca00c2b9SJani Nikula 398ca00c2b9SJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_trace.h 399ca00c2b9SJani Nikula :doc: switch_mm tracepoint 400ca00c2b9SJani Nikula 40116d98b31SRobert BraggPerf 40216d98b31SRobert Bragg==== 40316d98b31SRobert Bragg 40416d98b31SRobert BraggOverview 40516d98b31SRobert Bragg-------- 40616d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 40716d98b31SRobert Bragg :doc: i915 Perf Overview 40816d98b31SRobert Bragg 40916d98b31SRobert BraggComparison with Core Perf 41016d98b31SRobert Bragg------------------------- 41116d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 41216d98b31SRobert Bragg :doc: i915 Perf History and Comparison with Core Perf 41316d98b31SRobert Bragg 41416d98b31SRobert Braggi915 Driver Entry Points 41516d98b31SRobert Bragg------------------------ 41616d98b31SRobert Bragg 41716d98b31SRobert BraggThis section covers the entrypoints exported outside of i915_perf.c to 41816d98b31SRobert Braggintegrate with drm/i915 and to handle the `DRM_I915_PERF_OPEN` ioctl. 41916d98b31SRobert Bragg 42016d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 42116d98b31SRobert Bragg :functions: i915_perf_init 42216d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 42316d98b31SRobert Bragg :functions: i915_perf_fini 42416d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 42516d98b31SRobert Bragg :functions: i915_perf_register 42616d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 42716d98b31SRobert Bragg :functions: i915_perf_unregister 42816d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 42916d98b31SRobert Bragg :functions: i915_perf_open_ioctl 43016d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 43116d98b31SRobert Bragg :functions: i915_perf_release 432f89823c2SLionel Landwerlin.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 433f89823c2SLionel Landwerlin :functions: i915_perf_add_config_ioctl 434f89823c2SLionel Landwerlin.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 435f89823c2SLionel Landwerlin :functions: i915_perf_remove_config_ioctl 43616d98b31SRobert Bragg 43716d98b31SRobert Braggi915 Perf Stream 43816d98b31SRobert Bragg---------------- 43916d98b31SRobert Bragg 44016d98b31SRobert BraggThis section covers the stream-semantics-agnostic structures and functions 44116d98b31SRobert Braggfor representing an i915 perf stream FD and associated file operations. 44216d98b31SRobert Bragg 44316d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_drv.h 44416d98b31SRobert Bragg :functions: i915_perf_stream 44516d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_drv.h 44616d98b31SRobert Bragg :functions: i915_perf_stream_ops 44716d98b31SRobert Bragg 44816d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 44916d98b31SRobert Bragg :functions: read_properties_unlocked 45016d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 45116d98b31SRobert Bragg :functions: i915_perf_open_ioctl_locked 45216d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 45316d98b31SRobert Bragg :functions: i915_perf_destroy_locked 45416d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 45516d98b31SRobert Bragg :functions: i915_perf_read 45616d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 45716d98b31SRobert Bragg :functions: i915_perf_ioctl 45816d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 45916d98b31SRobert Bragg :functions: i915_perf_enable_locked 46016d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 46116d98b31SRobert Bragg :functions: i915_perf_disable_locked 46216d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 46316d98b31SRobert Bragg :functions: i915_perf_poll 46416d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 46516d98b31SRobert Bragg :functions: i915_perf_poll_locked 46616d98b31SRobert Bragg 46716d98b31SRobert Braggi915 Perf Observation Architecture Stream 46816d98b31SRobert Bragg----------------------------------------- 46916d98b31SRobert Bragg 47016d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_drv.h 47116d98b31SRobert Bragg :functions: i915_oa_ops 47216d98b31SRobert Bragg 47316d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 47416d98b31SRobert Bragg :functions: i915_oa_stream_init 47516d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 47616d98b31SRobert Bragg :functions: i915_oa_read 47716d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 47816d98b31SRobert Bragg :functions: i915_oa_stream_enable 47916d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 48016d98b31SRobert Bragg :functions: i915_oa_stream_disable 48116d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 48216d98b31SRobert Bragg :functions: i915_oa_wait_unlocked 48316d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 48416d98b31SRobert Bragg :functions: i915_oa_poll_wait 48516d98b31SRobert Bragg 48616d98b31SRobert BraggAll i915 Perf Internals 48716d98b31SRobert Bragg----------------------- 48816d98b31SRobert Bragg 48916d98b31SRobert BraggThis section simply includes all currently documented i915 perf internals, in 49016d98b31SRobert Braggno particular order, but may include some more minor utilities or platform 49116d98b31SRobert Braggspecific details than found in the more high-level sections. 49216d98b31SRobert Bragg 49316d98b31SRobert Bragg.. kernel-doc:: drivers/gpu/drm/i915/i915_perf.c 49416d98b31SRobert Bragg :internal: 4951aa920eaSJani Nikula 4961aa920eaSJani NikulaStyle 4971aa920eaSJani Nikula===== 4981aa920eaSJani Nikula 4991aa920eaSJani NikulaThe drm/i915 driver codebase has some style rules in addition to (and, in some 5001aa920eaSJani Nikulacases, deviating from) the kernel coding style. 5011aa920eaSJani Nikula 5021aa920eaSJani NikulaRegister macro definition style 5031aa920eaSJani Nikula------------------------------- 5041aa920eaSJani Nikula 5051aa920eaSJani NikulaThe style guide for ``i915_reg.h``. 5061aa920eaSJani Nikula 5071aa920eaSJani Nikula.. kernel-doc:: drivers/gpu/drm/i915/i915_reg.h 5081aa920eaSJani Nikula :doc: The i915 register macro definition style guide 509