]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: fix memory leak in rv_hwmgr backend
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 6 Jun 2017 08:19:34 +0000 (16:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Jun 2017 21:01:05 +0000 (17:01 -0400)
commitb23b87164417a2b93da01df1dde634de5da0ba09
treeab7b15bdd72045d260df880e50c8224518308787
parent2689a112824ec0ce5c1cc77627f397811dcb0261
drm/amd/powerplay: fix memory leak in rv_hwmgr backend

vddc_dep_on_dal_pwrl and vq_budgeting_table are allocated and initialized
in rv_hwmgr_backend_init. Thus free the memory in rv_hwmgr_backend_fini

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c