Quick workaround to 5700XT memory not downclocking on idle (144 fps +)

Been using AutoHotKey, with my 380.

Save code as .ahk, edit for resolution and Hz. Start and press 6 for 1080p60, 7 for 1080p144...

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

^6::
  ChangeResolution(32,1920,1080,60)
  return

^7::
  ChangeResolution(32,1920,1080,144)
  return

^8::
  ChangeResolution(32,1920,1080,60)
  return

^9::
  ChangeResolution(32,1920,1080,120)
  return

ChangeResolution( cD, sW, sH, rR ) {
  VarSetCapacity(dM,156,0), NumPut(156,2,&dM,36)
  DllCall( "EnumDisplaySettingsA", UInt,0, UInt,-1, UInt,&dM ), 
  NumPut(0x5c0000,dM,40)
  NumPut(cD,dM,104), NumPut(sW,dM,108), NumPut(sH,dM,112), NumPut(rR,dM,120)
  Return DllCall( "ChangeDisplaySettingsA", UInt,&dM, UInt,0 )
}
/r/Amd Thread