1 /* SPDX-License-Identifier: MIT */
3 * Copyright(c) 2023, Intel Corporation. All rights reserved.
6 #ifndef __INTEL_PXP_REGS_H__
7 #define __INTEL_PXP_REGS_H__
9 #include "i915_reg_defs.h"
11 /* KCR subsystem register base address */
12 #define GEN12_KCR_BASE 0x32000
13 #define MTL_KCR_BASE 0x386000
15 /* KCR enable/disable control */
16 #define KCR_INIT(base) _MMIO((base) + 0xf0)
18 /* Setting KCR Init bit is required after system boot */
19 #define KCR_INIT_ALLOW_DISPLAY_ME_WRITES REG_BIT(14)
21 /* KCR hwdrm session in play status 0-31 */
22 #define KCR_SIP(base) _MMIO((base) + 0x260)
24 /* PXP global terminate register for session termination */
25 #define KCR_GLOBAL_TERMINATE(base) _MMIO((base) + 0xf8)
27 #endif /* __INTEL_PXP_REGS_H__ */