OSDN Git Service

drm/amd/powerplay: implement smu_alloc[free]_memory pool function
authorKevin Wang <Kevin1.Wang@amd.com>
Mon, 17 Dec 2018 08:47:49 +0000 (16:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:56 +0000 (15:03 -0500)
commit0b51d9937845fb6e0639be2cbd31557c4a36e073
treed8e12e93a7e1d5300b1c9feed0f94921c3a0d770
parent08115f87c38de82f82991a990e36806fa6f3057d
drm/amd/powerplay: implement smu_alloc[free]_memory pool function

This patch implements smu_alloc[free]_memory pool function to reserve the memory
pool bo.

Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com>
Reviewed-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