drm/amd/powerplay: centralize all buffer allocation in sw_init phase
authorEvan Quan <evan.quan@amd.com>
Thu, 28 May 2020 08:55:08 +0000 (16:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:16 +0000 (01:59 -0400)
commit78eb4a36155c93dca85acaed8d783604b6372f12
tree71948f011a8d67af9c68eecf64d1b8c62e80ba44
parent61555ccbf92b633765146fdaba2734c3a5e239fa
drm/amd/powerplay: centralize all buffer allocation in sw_init phase

To fit common design. And this can simplify the buffer deallocation.

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
drivers/gpu/drm/amd/powerplay/smu_v11_0.c