]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: move those operations not needed for resume out
authorEvan Quan <evan.quan@amd.com>
Thu, 4 Jun 2020 03:25:28 +0000 (11:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:16 +0000 (01:59 -0400)
commitf6f645a7d5bf974f746d93ed7b434cc2f8879c61
treec728e68856f1694eee1f03c9e98de87a73ab0a7d
parent7eac847947a10b0c39e2f331c4e5ef12e377cf14
drm/amd/powerplay: move those operations not needed for resume out

Since smu_smc_table_hw_init() is needed for both .hw_init and .resume.
By doing this, we can drop unnecessary operations on resume.

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/amdgpu_smu.c