drivers/gpu/drm/vmwgfx/device_include/svga_escape.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/vmwgfx/device_include/svga_escape.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/vmwgfx/device_include/svga_escape.h
Extension
.h
Size
1734 bytes
Lines
57
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.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _SVGA_ESCAPE_H_
#define _SVGA_ESCAPE_H_

#define SVGA_ESCAPE_NSID_VMWARE 0x00000000
#define SVGA_ESCAPE_NSID_DEVEL 0xFFFFFFFF

#define SVGA_ESCAPE_VMWARE_MAJOR_MASK 0xFFFF0000

#define SVGA_ESCAPE_VMWARE_HINT 0x00030000
#define SVGA_ESCAPE_VMWARE_HINT_FULLSCREEN 0x00030001

#pragma pack(push, 1)
typedef struct {
	uint32 command;
	uint32 fullscreen;
	struct {
		int32 x, y;
	} monitorPosition;
} SVGAEscapeHintFullscreen;
#pragma pack(pop)

#endif

Annotation

Implementation Notes