tools/power turbostat: Fix caller parameter of get_tdp_amd()
Commit 9392bd98 ("tools/power turbostat: Add support for AMD Fam 17h (Zen) RAPL") add a function get_tdp_amd(), the parameter is CPU family. But the rapl_probe_amd() function use wrong model parameter. Fix the wrong caller parameter of get_tdp_amd() to use family. Cc: <stable@vger.kernel.org> # v5.1+ Signed-off-by: NPu Wen <puwen@hygon.cn> Reviewed-by: NCalvin Walton <calvin.walton@kepstin.ca> Signed-off-by: NLen Brown <len.brown@intel.com>
Showing
想要评论请 注册 或 登录