drivers/gpu/drm/xe/instructions/xe_gfx_state_commands.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/instructions/xe_gfx_state_commands.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/instructions/xe_gfx_state_commands.h
Extension
.h
Size
394 bytes
Lines
19
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 _XE_GFX_STATE_COMMANDS_H_
#define _XE_GFX_STATE_COMMANDS_H_

#include "instructions/xe_instr_defs.h"

#define GFX_STATE_OPCODE			REG_GENMASK(28, 26)

#define GFX_STATE_CMD(opcode) \
	(XE_INSTR_GFX_STATE | REG_FIELD_PREP(GFX_STATE_OPCODE, opcode))

#define STATE_WRITE_INLINE			GFX_STATE_CMD(0x0)

#endif

Annotation

Implementation Notes