drm/amd/powerplay: update hw fini function to relase some memory
authorLikun Gao <Likun.Gao@amd.com>
Mon, 17 Dec 2018 12:59:42 +0000 (20:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:56 +0000 (15:03 -0500)
commitafba8282292940378632c61e1686f230fa5be655
tree58fe0c9b2ffc717d646bf73a1d5068e0f9df426a
parentc6eef2d01d05beff75e6139909bf1f2dc88bd72a
drm/amd/powerplay: update hw fini function to relase some memory

Release memory of table_context->driver_pptable and
table_context->ppt_information when smu hw fini.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <Kevin1.Wang@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