drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/vmwgfx/device_include/svga3d_types.h- Extension
.h- Size
- 44509 bytes
- Lines
- 1556
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
vm_basic_types.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef _SVGA3D_TYPES_H_
#define _SVGA3D_TYPES_H_
#include "vm_basic_types.h"
#define SVGA3D_INVALID_ID ((uint32)-1)
#define SVGA3D_RESOURCE_TYPE_MIN 1
#define SVGA3D_RESOURCE_BUFFER 1
#define SVGA3D_RESOURCE_TEXTURE1D 2
#define SVGA3D_RESOURCE_TEXTURE2D 3
#define SVGA3D_RESOURCE_TEXTURE3D 4
#define SVGA3D_RESOURCE_TEXTURECUBE 5
#define SVGA3D_RESOURCE_TYPE_DX10_MAX 6
#define SVGA3D_RESOURCE_BUFFEREX 6
#define SVGA3D_RESOURCE_TYPE_MAX 7
typedef uint32 SVGA3dResourceType;
typedef uint8 SVGABool8;
typedef uint32 SVGA3dBool;
typedef uint32 SVGA3dColor;
typedef uint32 SVGA3dSurfaceId;
#pragma pack(push, 1)
typedef struct {
uint32 numerator;
uint32 denominator;
} SVGA3dFraction64;
#pragma pack(pop)
#pragma pack(push, 1)
typedef struct SVGA3dCopyRect {
uint32 x;
uint32 y;
uint32 w;
uint32 h;
uint32 srcx;
uint32 srcy;
} SVGA3dCopyRect;
#pragma pack(pop)
#pragma pack(push, 1)
typedef struct SVGA3dCopyBox {
uint32 x;
uint32 y;
uint32 z;
uint32 w;
uint32 h;
uint32 d;
uint32 srcx;
uint32 srcy;
uint32 srcz;
} SVGA3dCopyBox;
#pragma pack(pop)
#pragma pack(push, 1)
typedef struct SVGA3dRect {
uint32 x;
uint32 y;
uint32 w;
uint32 h;
} SVGA3dRect;
#pragma pack(pop)
#pragma pack(push, 1)
typedef struct {
uint32 x;
uint32 y;
uint32 z;
uint32 w;
uint32 h;
uint32 d;
} SVGA3dBox;
#pragma pack(pop)
#pragma pack(push, 1)
typedef struct {
int32 x;
int32 y;
int32 z;
int32 w;
int32 h;
int32 d;
} SVGA3dSignedBox;
#pragma pack(pop)
#pragma pack(push, 1)
typedef struct {
uint32 x;
Annotation
- Immediate include surface: `vm_basic_types.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.