drivers/gpu/drm/i915/display/intel_vga_regs.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/display/intel_vga_regs.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/i915/display/intel_vga_regs.h- Extension
.h- Size
- 1570 bytes
- Lines
- 37
- Domain
- Driver Families
- Bucket
- drivers/gpu
- Inferred role
- Driver Families: implementation source
- Status
- source 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.
Dependency Surface
intel_display_reg_defs.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __INTEL_VGA_REGS_H__
#define __INTEL_VGA_REGS_H__
#include "intel_display_reg_defs.h"
#define VGACNTRL _MMIO(0x71400)
#define VLV_VGACNTRL _MMIO(VLV_DISPLAY_BASE + 0x71400)
#define CPU_VGACNTRL _MMIO(0x41000)
#define VGA_DISP_DISABLE REG_BIT(31)
#define VGA_2X_MODE REG_BIT(30) /* pre-ilk */
#define VGA_PIPE_SEL_MASK REG_BIT(29) /* pre-ivb */
#define VGA_PIPE_SEL(pipe) REG_FIELD_PREP(VGA_PIPE_SEL_MASK, (pipe))
#define VGA_PIPE_SEL_MASK_CHV REG_GENMASK(29, 28) /* chv */
#define VGA_PIPE_SEL_CHV(pipe) REG_FIELD_PREP(VGA_PIPE_SEL_MASK_CHV, (pipe))
#define VGA_BORDER_ENABLE REG_BIT(26)
#define VGA_PIPE_CSC_ENABLE REG_BIT(24) /* ilk+ */
#define VGA_CENTERING_ENABLE_MASK REG_GENMASK(25, 24) /* pre-ilk */
#define VGA_PALETTE_READ_SEL REG_BIT(23) /* pre-ivb */
#define VGA_PALETTE_A_WRITE_DISABLE REG_BIT(22) /* pre-ivb */
#define VGA_PALETTE_B_WRITE_DISABLE REG_BIT(21) /* pre-ivb */
#define VGA_LEGACY_8BIT_PALETTE_ENABLE REG_BIT(20)
#define VGA_PALETTE_BYPASS REG_BIT(19)
#define VGA_NINE_DOT_DISABLE REG_BIT(18)
#define VGA_PALETTE_READ_SEL_HI_CHV REG_BIT(15) /* chv */
#define VGA_PALETTE_C_WRITE_DISABLE_CHV REG_BIT(14) /* chv */
#define VGA_ACTIVE_THROTTLING_MASK REG_GENMASK(15, 12) /* ilk+ */
#define VGA_BLANK_THROTTLING_MASK REG_GENMASK(11, 8) /* ilk+ */
#define VGA_BLINK_DUTY_CYCLE_MASK REG_GENMASK(7, 6)
#define VGA_VSYNC_BLINK_RATE_MASK REG_GENMASK(5, 0)
#endif /* __INTEL_VGA_REGS_H__ */
Annotation
- Immediate include surface: `intel_display_reg_defs.h`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: source 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.