OSDN Git Service

drm/amd/powerplay: add interface to notify memory pool location (v2)
authorHuang Rui <ray.huang@amd.com>
Wed, 5 Dec 2018 03:45:34 +0000 (11:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:54 +0000 (15:03 -0500)
commitc56de9e8287dab5c3e393fa30597c20cbf43533a
treef714359dead23f05d392db6aaff5485e165670e3
parente65d45f2c73df8b7596d67c09bc3528a8968a99d
drm/amd/powerplay: add interface to notify memory pool location (v2)

This patch adds interface to notify memory pool location for smu.
It's to use msg SetSystemVirtualDramAddr and DramLogSetDramAddr can notify pool
location.

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