drm/amd/powerplay: add interface to write pptable (v2)
authorHuang Rui <ray.huang@amd.com>
Tue, 4 Dec 2018 13:57:05 +0000 (21:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:54 +0000 (15:03 -0500)
commit31b5ae495d68fba85bf64fae6f173372d56131da
tree5987b2be606a0d2b23b4874ce26c17fb90eb0800
parenta751b095898294764a364e436d9ddb14ad727482
drm/amd/powerplay: add interface to write pptable (v2)

This patch adds interface to write pptable for smu.
It's to copy pptable bo in the vram to smc with SMU MSGs such as
SetDriverDramAddr and TransferTableDram2Smu.

v2: add detailed info to describe this function

Signed-off-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h