drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h- Extension
.h- Size
- 35306 bytes
- Lines
- 1562
- 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
svga3d_types.h
Detected Declarations
struct SVGAUseCaps
Annotated Snippet
#ifndef _SVGA3D_SURFACEDEFS_H_
#define _SVGA3D_SURFACEDEFS_H_
#include "svga3d_types.h"
#ifdef __cplusplus
extern "C" {
#endif
struct SVGAUseCaps;
#if defined(_WIN32) && !defined(__GNUC__)
#define STATIC_CONST __declspec(selectany) extern const
#else
#define STATIC_CONST static const
#endif
typedef enum SVGA3dBlockDesc {
SVGA3DBLOCKDESC_NONE = 0,
SVGA3DBLOCKDESC_BLUE = 1 << 0,
SVGA3DBLOCKDESC_W = 1 << 0,
SVGA3DBLOCKDESC_BUMP_L = 1 << 0,
SVGA3DBLOCKDESC_GREEN = 1 << 1,
SVGA3DBLOCKDESC_V = 1 << 1,
SVGA3DBLOCKDESC_RED = 1 << 2,
SVGA3DBLOCKDESC_U = 1 << 2,
SVGA3DBLOCKDESC_LUMINANCE = 1 << 2,
SVGA3DBLOCKDESC_ALPHA = 1 << 3,
SVGA3DBLOCKDESC_Q = 1 << 3,
SVGA3DBLOCKDESC_BUFFER = 1 << 4,
SVGA3DBLOCKDESC_COMPRESSED = 1 << 5,
SVGA3DBLOCKDESC_FP = 1 << 6,
SVGA3DBLOCKDESC_PLANAR_YUV = 1 << 7,
SVGA3DBLOCKDESC_2PLANAR_YUV = 1 << 8,
SVGA3DBLOCKDESC_3PLANAR_YUV = 1 << 9,
SVGA3DBLOCKDESC_STENCIL = 1 << 11,
SVGA3DBLOCKDESC_TYPELESS = 1 << 12,
SVGA3DBLOCKDESC_SINT = 1 << 13,
SVGA3DBLOCKDESC_UINT = 1 << 14,
SVGA3DBLOCKDESC_NORM = 1 << 15,
SVGA3DBLOCKDESC_SRGB = 1 << 16,
SVGA3DBLOCKDESC_EXP = 1 << 17,
SVGA3DBLOCKDESC_COLOR = 1 << 18,
SVGA3DBLOCKDESC_DEPTH = 1 << 19,
SVGA3DBLOCKDESC_BUMP = 1 << 20,
SVGA3DBLOCKDESC_YUV_VIDEO = 1 << 21,
SVGA3DBLOCKDESC_MIXED = 1 << 22,
SVGA3DBLOCKDESC_CX = 1 << 23,
SVGA3DBLOCKDESC_BC1 = 1 << 24,
SVGA3DBLOCKDESC_BC2 = 1 << 25,
SVGA3DBLOCKDESC_BC3 = 1 << 26,
SVGA3DBLOCKDESC_BC4 = 1 << 27,
SVGA3DBLOCKDESC_BC5 = 1 << 28,
SVGA3DBLOCKDESC_BC6H = 1 << 29,
SVGA3DBLOCKDESC_BC7 = 1 << 30,
SVGA3DBLOCKDESC_COMPRESSED_MASK =
SVGA3DBLOCKDESC_BC1 | SVGA3DBLOCKDESC_BC2 |
SVGA3DBLOCKDESC_BC3 | SVGA3DBLOCKDESC_BC4 |
SVGA3DBLOCKDESC_BC5 | SVGA3DBLOCKDESC_BC6H |
SVGA3DBLOCKDESC_BC7,
SVGA3DBLOCKDESC_A_UINT = SVGA3DBLOCKDESC_ALPHA | SVGA3DBLOCKDESC_UINT |
SVGA3DBLOCKDESC_COLOR,
SVGA3DBLOCKDESC_A_UNORM = SVGA3DBLOCKDESC_A_UINT | SVGA3DBLOCKDESC_NORM,
Annotation
- Immediate include surface: `svga3d_types.h`.
- Detected declarations: `struct SVGAUseCaps`.
- 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.