> -----Original Message----- > From: Kandpal, Suraj <suraj.kandpal@xxxxxxxxx> > Sent: Thursday, February 1, 2024 2:22 PM > To: intel-gfx@xxxxxxxxxxxxxxxxxxxxx > Cc: Borah, Chaitanya Kumar <chaitanya.kumar.borah@xxxxxxxxx>; Kandpal, > Suraj <suraj.kandpal@xxxxxxxxx> > Subject: [PATCH 1/2] drm/i915/lnl: Add pkgc related register > > Add the register that needs to read and written onto for deep pkgc > programming. > > Signed-off-by: Suraj Kandpal <suraj.kandpal@xxxxxxxxx> Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@xxxxxxxxx> > --- > drivers/gpu/drm/i915/display/skl_watermark_regs.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/i915/display/skl_watermark_regs.h > b/drivers/gpu/drm/i915/display/skl_watermark_regs.h > index 628c5920ad49..20b30c9a6613 100644 > --- a/drivers/gpu/drm/i915/display/skl_watermark_regs.h > +++ b/drivers/gpu/drm/i915/display/skl_watermark_regs.h > @@ -157,4 +157,8 @@ > #define MTL_LATENCY_SAGV _MMIO(0x4578c) > #define MTL_LATENCY_QCLK_SAGV REG_GENMASK(12, 0) > > +#define LNL_PKG_C_LATENCY _MMIO(0x46460) > +#define LNL_ADDED_WAKE_TIME_MASK REG_GENMASK(28, 16) > +#define LNL_PKG_C_LATENCY_MASK REG_GENMASK(12, 0) > + > #endif /* __SKL_WATERMARK_REGS_H__ */ > -- > 2.25.1