Created
October 11, 2022 09:53
-
-
Save cyring/bf56d2db34247fd249036d519b32de28 to your computer and use it in GitHub Desktop.
Ryzen 5 6600H
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AMD Ryzen 5 6600H with Radeon Graphics |
Author
cyring
commented
Oct 11, 2022
•
UMC
SoC
(Work in progress)
MSR_AMD_F17H_PMGT_MISC
static void Call_SVI_RMB(const unsigned int plane0, const unsigned int plane1,
const unsigned long long factor)
{
AMD_RMB_SVI SVI = {.value = 0};
ZEN_PMGT_MISC PM = {.value = 0};
UNUSED(factor);
Core_AMD_SMN_Read( SVI,
SMU_AMD_RMB_SVI(plane0),
PRIVATE(OF(Zen)).Device.DF );
PUBLIC(RO(Proc))->PowerThermal.VID.CPU = SVI.SVI1;
/*
Core_AMD_SMN_Read( SVI,
SMU_AMD_RMB_SVI(plane1),
PRIVATE(OF(Zen)).Device.DF );
*/
RDMSR(PM, MSR_AMD_F17H_PMGT_MISC);
PUBLIC(RO(Proc))->PowerThermal.VID.SOC = PM.CurDFVid;
}
CPU @ 0x006f010
, SoC @ 0x006f018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment