]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: introduce smu clk type to handle ppclk for each asic
authorHuang Rui <ray.huang@amd.com>
Sun, 24 Mar 2019 11:22:07 +0000 (19:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:26 +0000 (18:59 -0500)
commit268d7df059382126ddf500647eaab31bb50354ab
tree4423403dbac6b5d13b0fdeea1b8868d2cbd460bf
parent4d92538ebe4216aab4e7c00fc52fcf972c2753cd
drm/amd/powerplay: introduce smu clk type to handle ppclk for each asic

This patch introduces new smu clk type, it's to handle the different ppclk
defines for each asic with the same smu ip.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c