drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_enum.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_enum.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/include/asic_reg/oss/oss_3_0_enum.h- Extension
.h- Size
- 81112 bytes
- Lines
- 1498
- 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
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef OSS_3_0_ENUM_H
#define OSS_3_0_ENUM_H
typedef enum IH_CLIENT_ID {
DC_IH_SRC_ID_START = 0x1,
DC_IH_SRC_ID_END = 0x1f,
VGA_IH_SRC_ID_START = 0x20,
VGA_IH_SRC_ID_END = 0x27,
CAP_IH_SRC_ID_START = 0x28,
CAP_IH_SRC_ID_END = 0x2f,
VIP_IH_SRC_ID_START = 0x30,
VIP_IH_SRC_ID_END = 0x3f,
ROM_IH_SRC_ID_START = 0x40,
ROM_IH_SRC_ID_END = 0x5d,
BIF_IH_SRC_ID_START = 0x5e,
SAM_IH_SRC_ID_START = 0x5f,
SRBM_IH_SRC_ID_START = 0x60,
SRBM_IH_SRC_ID_END = 0x67,
UVD_IH_SRC_ID_START = 0x72,
UVD_IH_SRC_ID_END = 0x85,
VMC_IH_SRC_ID_START = 0x86,
VMC_IH_SRC_ID_END = 0x8f,
RLC_IH_SRC_ID_START = 0x90,
RLC_IH_SRC_ID_END = 0xf3,
PDMA_IH_SRC_ID_START = 0xf4,
PDMA_IH_SRC_ID_END = 0xf7,
CG_IH_SRC_ID_START = 0xf8,
CG_IH_SRC_ID_END = 0xff,
} IH_CLIENT_ID;
typedef enum IH_PERF_SEL {
IH_PERF_SEL_CYCLE = 0x0,
IH_PERF_SEL_IDLE = 0x1,
IH_PERF_SEL_INPUT_IDLE = 0x2,
IH_PERF_SEL_CLIENT0_IH_STALL = 0x3,
IH_PERF_SEL_CLIENT1_IH_STALL = 0x4,
IH_PERF_SEL_CLIENT2_IH_STALL = 0x5,
IH_PERF_SEL_CLIENT3_IH_STALL = 0x6,
IH_PERF_SEL_CLIENT4_IH_STALL = 0x7,
IH_PERF_SEL_CLIENT5_IH_STALL = 0x8,
IH_PERF_SEL_CLIENT6_IH_STALL = 0x9,
IH_PERF_SEL_CLIENT7_IH_STALL = 0xa,
IH_PERF_SEL_RB_IDLE = 0xb,
IH_PERF_SEL_RB_FULL = 0xc,
IH_PERF_SEL_RB_OVERFLOW = 0xd,
IH_PERF_SEL_RB_WPTR_WRITEBACK = 0xe,
IH_PERF_SEL_RB_WPTR_WRAP = 0xf,
IH_PERF_SEL_RB_RPTR_WRAP = 0x10,
IH_PERF_SEL_MC_WR_IDLE = 0x11,
IH_PERF_SEL_MC_WR_COUNT = 0x12,
IH_PERF_SEL_MC_WR_STALL = 0x13,
IH_PERF_SEL_MC_WR_CLEAN_PENDING = 0x14,
IH_PERF_SEL_MC_WR_CLEAN_STALL = 0x15,
IH_PERF_SEL_BIF_RISING = 0x16,
IH_PERF_SEL_BIF_FALLING = 0x17,
IH_PERF_SEL_CLIENT8_IH_STALL = 0x18,
IH_PERF_SEL_CLIENT9_IH_STALL = 0x19,
IH_PERF_SEL_CLIENT10_IH_STALL = 0x1a,
IH_PERF_SEL_CLIENT11_IH_STALL = 0x1b,
IH_PERF_SEL_CLIENT12_IH_STALL = 0x1c,
IH_PERF_SEL_CLIENT13_IH_STALL = 0x1d,
IH_PERF_SEL_CLIENT14_IH_STALL = 0x1e,
IH_PERF_SEL_CLIENT15_IH_STALL = 0x1f,
IH_PERF_SEL_CLIENT16_IH_STALL = 0x20,
IH_PERF_SEL_CLIENT17_IH_STALL = 0x21,
IH_PERF_SEL_CLIENT18_IH_STALL = 0x22,
IH_PERF_SEL_CLIENT19_IH_STALL = 0x23,
IH_PERF_SEL_CLIENT20_IH_STALL = 0x24,
IH_PERF_SEL_CLIENT21_IH_STALL = 0x25,
IH_PERF_SEL_CLIENT22_IH_STALL = 0x26,
IH_PERF_SEL_RB_FULL_VF0 = 0x27,
IH_PERF_SEL_RB_FULL_VF1 = 0x28,
IH_PERF_SEL_RB_FULL_VF2 = 0x29,
IH_PERF_SEL_RB_FULL_VF3 = 0x2a,
IH_PERF_SEL_RB_FULL_VF4 = 0x2b,
IH_PERF_SEL_RB_FULL_VF5 = 0x2c,
IH_PERF_SEL_RB_FULL_VF6 = 0x2d,
IH_PERF_SEL_RB_FULL_VF7 = 0x2e,
IH_PERF_SEL_RB_FULL_VF8 = 0x2f,
IH_PERF_SEL_RB_FULL_VF9 = 0x30,
IH_PERF_SEL_RB_FULL_VF10 = 0x31,
IH_PERF_SEL_RB_FULL_VF11 = 0x32,
IH_PERF_SEL_RB_FULL_VF12 = 0x33,
IH_PERF_SEL_RB_FULL_VF13 = 0x34,
IH_PERF_SEL_RB_FULL_VF14 = 0x35,
IH_PERF_SEL_RB_FULL_VF15 = 0x36,
IH_PERF_SEL_RB_OVERFLOW_VF0 = 0x37,
IH_PERF_SEL_RB_OVERFLOW_VF1 = 0x38,
IH_PERF_SEL_RB_OVERFLOW_VF2 = 0x39,
IH_PERF_SEL_RB_OVERFLOW_VF3 = 0x3a,
IH_PERF_SEL_RB_OVERFLOW_VF4 = 0x3b,
Annotation
- 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.