]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add some pptable funcs for cyan skilfish(v3)
authorLang Yu <lang.yu@amd.com>
Fri, 27 Aug 2021 07:03:50 +0000 (15:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Sep 2021 13:56:23 +0000 (09:56 -0400)
commita412942b8a451837a5adaded12ff09de873de7fc
tree22de3a407fa44c4765dc23ce79d4895e0f3988ec
parent56771aa2a79fe09d02b1b0c60297b9b7c51bebdf
drm/amdgpu: add some pptable funcs for cyan skilfish(v3)

Add print_clk_levels and read_sensor pptable funcs for
cyan skilfish.

v2: keep consitency and add get_gpu_metrics callback.
v3: use sysfs_emit_at() in sysfs show function.

Signed-off-by: Lang Yu <lang.yu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/cyan_skillfish_ppt.c