assigning already existing flag with name for HID3

Signed-off-by: a-ramses <abdicheramzi@gmail.com>
This commit is contained in:
a-ramses 2024-10-21 11:22:59 +02:00 committed by Hector Martin
parent d649c8803f
commit b78a3a20d6

View file

@ -6,7 +6,7 @@
static void init_common_everest(void) static void init_common_everest(void)
{ {
reg_set(SYS_IMP_APL_HID12, BIT(46)); reg_set(SYS_IMP_APL_HID12, BIT(46));
reg_set(SYS_IMP_APL_HID3, BIT(63)); reg_set(SYS_IMP_APL_HID3, HID3_DEV_PCIE_THROTTLE_ENABLE);
reg_mask(SYS_IMP_APL_HID3, GENMASK(ULONG(62), ULONG(56)), BIT(60) | BIT(59) | BIT(58)); reg_mask(SYS_IMP_APL_HID3, GENMASK(ULONG(62), ULONG(56)), BIT(60) | BIT(59) | BIT(58));
reg_clr(SYS_IMP_APL_HID3, BIT(4)); reg_clr(SYS_IMP_APL_HID3, BIT(4));
reg_set(SYS_IMP_APL_HID9, BIT(17)); reg_set(SYS_IMP_APL_HID9, BIT(17));
@ -43,4 +43,4 @@ void init_t6031_everest(int rev)
msr(s3_4_c15_c14_6, 0x3uL); msr(s3_4_c15_c14_6, 0x3uL);
init_common_everest(); init_common_everest();
reg_set(SYS_IMP_APL_HID4, HID4_ENABLE_LFSR_STALL_LOAD_PIPE2_ISSUE); reg_set(SYS_IMP_APL_HID4, HID4_ENABLE_LFSR_STALL_LOAD_PIPE2_ISSUE);
} }