drivers/gpu/drm/nouveau/include/nvif/push006c.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/nouveau/include/nvif/push006c.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/nouveau/include/nvif/push006c.h- Extension
.h- Size
- 2104 bytes
- Lines
- 74
- 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
nvif/push.hnvhw/class/cl006c.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __NVIF_PUSH006C_H__
#define __NVIF_PUSH006C_H__
#include <nvif/push.h>
#include <nvhw/class/cl006c.h>
#ifndef PUSH006C_SUBC
// Host methods
#define PUSH006C_SUBC_NV06E 0
#define PUSH006C_SUBC_NV176E 0
#define PUSH006C_SUBC_NV826F 0
// ContextSurfaces2d
#define PUSH006C_SUBC_NV042 0
#define PUSH006C_SUBC_NV062 0
// ContextClipRectangle
#define PUSH006C_SUBC_NV019 0
// ContextRop
#define PUSH006C_SUBC_NV043 0
// ContextPattern
#define PUSH006C_SUBC_NV044 0
// Misc dodginess...
#define PUSH006C_SUBC_NV_SW 1
// ImageBlit
#define PUSH006C_SUBC_NV05F 2
#define PUSH006C_SUBC_NV09F 2
// GdiRectangleText
#define PUSH006C_SUBC_NV04A 3
// Twod
#define PUSH006C_SUBC_NV502D 3
// MemoryToMemoryFormat
#define PUSH006C_SUBC_NV039 4
#define PUSH006C_SUBC_NV5039 4
// DmaCopy
#define PUSH006C_SUBC_NV85B5 4
// Cipher
#define PUSH006C_SUBC_NV74C1 4
#endif
#define PUSH_HDR(p,o,n,s,m,c) do { \
PUSH_ASSERT(!((s) & ~DRF_MASK(NV06C_METHOD_SUBCHANNEL)), "subc"); \
PUSH_ASSERT(!((m) & ~DRF_SMASK(NV06C_METHOD_ADDRESS)), "mthd"); \
PUSH_ASSERT(!((c) & ~DRF_MASK(NV06C_METHOD_COUNT)), "count"); \
PUSH_DATA__((p), NVVAL_X(NV06C_METHOD_ADDRESS, (m) >> 2) | \
NVVAL_X(NV06C_METHOD_SUBCHANNEL, (s)) | \
NVVAL_X(NV06C_METHOD_COUNT, (c)) | \
NVVAL_X(NV06C_OPCODE, NV06C_OPCODE_##o), \
" "n" subc %d mthd 0x%04x size %d - %s", \
(u32)(s), (u32)(m), (u32)(c), __func__); \
} while(0)
#define PUSH_MTHD_HDR(p,c,m,n) PUSH_HDR(p, METHOD, "incr", PUSH006C_SUBC_##c, m, n)
#define PUSH_MTHD_INC 4:4
#define PUSH_NINC_HDR(p,c,m,n) PUSH_HDR(p, NONINC_METHOD, "ninc", PUSH006C_SUBC_##c, m, n)
#define PUSH_NINC_INC 0:0
#define PUSH_JUMP(p,o) do { \
PUSH_ASSERT(!((o) & ~0x1fffffffcULL), "offset"); \
PUSH_DATA__((p), NVVAL_X(NV06C_OPCODE, NV06C_OPCODE_JUMP) | \
NVVAL_X(NV06C_JUMP_OFFSET, (o) >> 2), \
" jump 0x%08x - %s", (u32)(o), __func__); \
} while(0)
#endif
Annotation
- Immediate include surface: `nvif/push.h`, `nvhw/class/cl006c.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.