drivers/gpu/drm/i915/pxp/intel_pxp_regs.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/pxp/intel_pxp_regs.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/i915/pxp/intel_pxp_regs.h
Extension
.h
Size
725 bytes
Lines
28
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 __INTEL_PXP_REGS_H__
#define __INTEL_PXP_REGS_H__

#include "i915_reg_defs.h"

/* KCR subsystem register base address */
#define GEN12_KCR_BASE 0x32000
#define MTL_KCR_BASE 0x386000

/* KCR enable/disable control */
#define KCR_INIT(base) _MMIO((base) + 0xf0)

/* Setting KCR Init bit is required after system boot */
#define KCR_INIT_ALLOW_DISPLAY_ME_WRITES REG_BIT(14)

/* KCR hwdrm session in play status 0-31 */
#define KCR_SIP(base) _MMIO((base) + 0x260)

/* PXP global terminate register for session termination */
#define KCR_GLOBAL_TERMINATE(base) _MMIO((base) + 0xf8)

#endif /* __INTEL_PXP_REGS_H__ */

Annotation

Implementation Notes