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)
commit3061fe937ea9990524e73af6d04baca60ad5b137
tree22de3a407fa44c4765dc23ce79d4895e0f3988ec
parentc007e17c8476cb3c1032864f60936f2b7586010b
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