OSDN Git Service

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

handles the driver interaction with the smu firmware

v2: squash in:
- s3 fix for firmware loading
- smu loading through the psp
- unecessary calls to is_smc_ram_running()
- smu table cleanups
v3: rebase
v4: rebase, smu bo allocation fixes, add dpm running callback

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>
drivers/gpu/drm/amd/powerplay/smumgr/Makefile
drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.h [new file with mode: 0644]