drm/amdgpu/powerplay: split out common smu7 BACO code
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Feb 2019 22:39:33 +0000 (17:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2019 19:55:31 +0000 (15:55 -0400)
commit912a0bf57436d77592faea50cc989267a4e84d8d
treeaac386c020d36951f08acfa361c861fe440a71cf
parent56f68f18e09c397776e3d485f69e87b801362b8f
drm/amdgpu/powerplay: split out common smu7 BACO code

Several of the BACO functions are common across smu7-based
asics.  Split the common code out.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/Makefile
drivers/gpu/drm/amd/powerplay/hwmgr/ci_baco.c
drivers/gpu/drm/amd/powerplay/hwmgr/ci_baco.h
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_baco.c
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_baco.h
drivers/gpu/drm/amd/powerplay/hwmgr/polaris_baco.c
drivers/gpu/drm/amd/powerplay/hwmgr/polaris_baco.h
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_baco.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_baco.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_baco.c
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_baco.h