drm/amd/powerplay: maximum the code sharing on thermal irq setting
authorEvan Quan <evan.quan@amd.com>
Thu, 2 Jul 2020 07:59:03 +0000 (15:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jul 2020 16:44:40 +0000 (12:44 -0400)
commit1e1964b777ce0934ff07d6654e77f070d5ba8f07
tree2d5201f1e2a9cdf16a2138aac6a7dfa431e551bc
parent0540ecedcba924b0e4c362c2698f66addfdf6558
drm/amd/powerplay: maximum the code sharing on thermal irq setting

Put the common code in smu_v11_0.c instead of having one copy each.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smu_v11_0.c