]> 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)
commit9ad578b02704d157758b831ccc4976be1634954d
tree22de3a407fa44c4765dc23ce79d4895e0f3988ec
parent4d867c28b057e06676595a6abfd9357a846adf58
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