drm/amdgpu/powerplay: add BACO support for vega12
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Feb 2019 02:46:59 +0000 (21:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Mar 2019 20:09:33 +0000 (15:09 -0500)
commit750cced1c08b5258202f29ed954513be8f38df1b
tree988e09a0bffa5c3255bdf565c948a914fac23b7e
parent337cec9e6001042c99e4d29122693fada75c7454
drm/amdgpu/powerplay: add BACO support for vega12

This implements BACO (Bus Active, Chip Off) support
for vega12.

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/vega12_baco.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_baco.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_inc.h