drivers/gpu/drm/i915/intel_gvt_mmio_table.c
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/intel_gvt_mmio_table.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/i915/intel_gvt_mmio_table.c- Extension
.c- Size
- 41359 bytes
- Lines
- 1329
- Domain
- Driver Families
- Bucket
- drivers/gpu
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
drm/intel/intel_pcode_regs.hdrm/intel/intel_gmd_misc_regs.hdrm/intel/intel_gmd_interrupt_regs.hdrm/intel/mchbar_regs.hdisplay/bxt_dpio_phy_regs.hdisplay/i9xx_plane_regs.hdisplay/i9xx_wm_regs.hdisplay/intel_audio_regs.hdisplay/intel_backlight_regs.hdisplay/intel_color_regs.hdisplay/intel_crt_regs.hdisplay/intel_cursor_regs.hdisplay/intel_display_limits.hdisplay/intel_display_regs.hdisplay/intel_dmc_regs.hdisplay/intel_dp_aux_regs.hdisplay/intel_dpio_phy.hdisplay/intel_fbc.hdisplay/intel_fbc_regs.hdisplay/intel_fdi_regs.hdisplay/intel_lvds_regs.hdisplay/intel_pfit_regs.hdisplay/intel_psr_regs.hdisplay/intel_sbi_regs.hdisplay/intel_sprite_regs.hdisplay/intel_vga_regs.hdisplay/skl_universal_plane_regs.hdisplay/skl_watermark_regs.hdisplay/vlv_dsi_pll_regs.hgt/intel_engine_regs.hgt/intel_gt_regs.hgvt/display_helpers.h
Detected Declarations
function iterate_generic_mmiofunction iterate_bdw_only_mmiofunction iterate_bdw_plus_mmiofunction iterate_pre_skl_mmiofunction iterate_skl_plus_mmiofunction iterate_bxt_mmiofunction intel_gvt_iterate_mmio_tablefunction IS_KABYLAKE
Annotated Snippet
IS_COMETLAKE(i915)) {
ret = iterate_bdw_plus_mmio(iter);
if (ret)
goto err;
ret = iterate_skl_plus_mmio(iter);
if (ret)
goto err;
} else if (IS_BROXTON(i915)) {
ret = iterate_bdw_plus_mmio(iter);
if (ret)
goto err;
ret = iterate_skl_plus_mmio(iter);
if (ret)
goto err;
ret = iterate_bxt_mmio(iter);
if (ret)
goto err;
}
return 0;
err:
return ret;
}
EXPORT_SYMBOL_NS_GPL(intel_gvt_iterate_mmio_table, "I915_GVT");
Annotation
- Immediate include surface: `drm/intel/intel_pcode_regs.h`, `drm/intel/intel_gmd_misc_regs.h`, `drm/intel/intel_gmd_interrupt_regs.h`, `drm/intel/mchbar_regs.h`, `display/bxt_dpio_phy_regs.h`, `display/i9xx_plane_regs.h`, `display/i9xx_wm_regs.h`, `display/intel_audio_regs.h`.
- Detected declarations: `function iterate_generic_mmio`, `function iterate_bdw_only_mmio`, `function iterate_bdw_plus_mmio`, `function iterate_pre_skl_mmio`, `function iterate_skl_plus_mmio`, `function iterate_bxt_mmio`, `function intel_gvt_iterate_mmio_table`, `function IS_KABYLAKE`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: integration implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.