OSDN Git Service

drm/amd/powerplay: add interface to allocate memory pool (v2)
authorHuang Rui <ray.huang@amd.com>
Wed, 5 Dec 2018 03:41:33 +0000 (11:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:54 +0000 (15:03 -0500)
commite65d45f2c73df8b7596d67c09bc3528a8968a99d
tree5aca9f0c90f8943664aa5ea43adb1e57279c01f5
parent206bc589ed497497d87699b406e195b7c7b51900
drm/amd/powerplay: add interface to allocate memory pool (v2)

This patch adds interface to allocate memory pool for smu.
This memory pool will be used for SMC use and msg SetSystemVirtualDramAddr and
DramLogSetDramAddr can notify it changed.

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