]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: add support to umd P-state "fetch" function for vangogh
authorXiaojian Du <Xiaojian.Du@amd.com>
Tue, 15 Dec 2020 08:41:26 +0000 (16:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jan 2021 16:29:48 +0000 (11:29 -0500)
commit9781c66ac6f1a0d287cb0ad91608a5296a1d3607
tree8351fd663c36f0cd79b1ea9ff6e5cae59504d47f
parent4d8d8b6617f40e14a0fcbf8c337daf33a83ea9b8
drm/amd/pm: add support to umd P-state "fetch" function for vangogh

This patch is to add supoort to umd P-state function for vangogh.
It enables the "fetch" function of 3 sysfs nodes: pp_dpm_mclk,
pp_dpm_fclk, pp_dpm_socclk,the function is used to fetch
the current frequency of memclk/fclk/socclk.

Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c