drm/amd/powerplay: implement smu_init(fini)_fb_allocations function
authorKevin Wang <Kevin1.Wang@amd.com>
Fri, 14 Dec 2018 10:34:20 +0000 (18:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:55 +0000 (15:03 -0500)
commitf96357a991b965e9dc6882718c670c49945a89a8
treebb311e277285d8b896c443e0d178664ad275a33e
parent8bf16963df8c27787f12d7df88d4c88fe6d9aff1
drm/amd/powerplay: implement smu_init(fini)_fb_allocations function

This patch implements smu_init_fb_allocations/smu_fini_fb_allocations function
for smu to reserve the BOs for smc tables.

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