]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu/powerplay: factor out some pptable helpers
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Oct 2018 21:03:53 +0000 (16:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Oct 2018 19:49:44 +0000 (14:49 -0500)
commita553c19d158535a62b513f5a9ef9f036a54b511f
treead728f95bf438e289112fcf911b435be27325421
parent99e219521da5c1bfa9f36ca4fae3fe1a3718cf24
drm/amdgpu/powerplay: factor out some pptable helpers

Move copy_array helpers to smu_helper.c and share between
vega12 and vega20.

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