drm/amd/powerplay: add the hw manager for vega12 (v4)
authorEvan Quan <evan.quan@amd.com>
Mon, 19 Mar 2018 19:23:57 +0000 (14:23 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 19:36:56 +0000 (14:36 -0500)
commit2cac05dee6e309bb21424c7d59c62f662d01309e
tree580af36b2821acf427363a2d3b728363c2a23628
parentfa969db4addd05aa9bfa58ade0ed6d9c51656762
drm/amd/powerplay: add the hw manager for vega12 (v4)

handles the driver power state setup

v2: squash in the following:
- handle negative temperature ranges
- add vega12 thermal ranges
- use ffs/fls
- remove ACG code
- resend NumOfDisplays message
- correct max dpm levels
- remove power containment settings
- fix warnings
- add sensors interface
- delete unused overdrive arbiter
- drop get_temperature callback
- smu table cleanup
- atomfirmware smu dpm table updates
v3: rebase
v4: rebase

Acked-by: Christian König <christian.koenig@amd.com>
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>
13 files changed:
drivers/gpu/drm/amd/include/dm_pp_interface.h
drivers/gpu/drm/amd/powerplay/hwmgr/Makefile
drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_powertune.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_powertune.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_processpptables.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h