amdgpu/pm: Implement emit_clk_levels for navi10
authorDarren Powell <darren.powell@amd.com>
Tue, 25 Jan 2022 23:34:52 +0000 (18:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Feb 2022 21:12:15 +0000 (16:12 -0500)
commitb06b48d7ddae440f3393e5c1ddda4d2537b3a7cc
tree049b2b24a686d13ca495d8c2b51f4c503ade4eb7
parent69f915cc97c4bb82b34105a47abf613f7c87215d
amdgpu/pm: Implement emit_clk_levels for navi10

   (v4)
     Modifications to satisfy checkpatch --strict
   (v3)
     Rewrote patchset to order patches as (API, hw impl, usecase)

     - implement emit_clk_levels for navi10, based on print_clk_levels,
       but using sysfs_emit without smu_cmn_get_sysfs() workaround

Signed-off-by: Darren Powell <darren.powell@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c