drm/amdgpu/powerplay: split out common smu9 BACO code
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Feb 2019 22:34:48 +0000 (17:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Mar 2019 20:09:33 +0000 (15:09 -0500)
commit518f6a54624a905692290914ac1686a5bf5c9ef8
tree8de29ee5747964e4e6514ef768277cf54d9acbdd
parent750cced1c08b5258202f29ed954513be8f38df1b
drm/amdgpu/powerplay: split out common smu9 BACO code

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

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/Makefile
drivers/gpu/drm/amd/powerplay/hwmgr/smu9_baco.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/smu9_baco.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_baco.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_baco.h
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_baco.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_baco.h
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c