xref: /linux/drivers/gpu/drm/xe/regs/xe_pcode_regs.h (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2024 Intel Corporation
4  */
5 
6 #ifndef _XE_PCODE_REGS_H_
7 #define _XE_PCODE_REGS_H_
8 
9 #include "regs/xe_reg_defs.h"
10 
11 /*
12  * This file contains addresses of PCODE registers visible through GT MMIO space.
13  */
14 
15 #define PVC_GT0_PACKAGE_ENERGY_STATUS           XE_REG(0x281004)
16 #define PVC_GT0_PACKAGE_RAPL_LIMIT              XE_REG(0x281008)
17 #define PVC_GT0_PACKAGE_POWER_SKU_UNIT          XE_REG(0x281068)
18 #define PVC_GT0_PLATFORM_ENERGY_STATUS          XE_REG(0x28106c)
19 #define PVC_GT0_PACKAGE_POWER_SKU               XE_REG(0x281080)
20 
21 #define BMG_PACKAGE_POWER_SKU			XE_REG(0x138098)
22 #define BMG_PACKAGE_POWER_SKU_UNIT		XE_REG(0x1380dc)
23 #define BMG_PACKAGE_ENERGY_STATUS		XE_REG(0x138120)
24 #define BMG_PACKAGE_RAPL_LIMIT			XE_REG(0x138440)
25 #define BMG_PLATFORM_ENERGY_STATUS		XE_REG(0x138458)
26 #define BMG_PLATFORM_POWER_LIMIT		XE_REG(0x138460)
27 
28 #endif /* _XE_PCODE_REGS_H_ */
29