]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/sriov:fix memory leak in psp_load_fw
authorMonk Liu <Monk.Liu@amd.com>
Tue, 19 Sep 2017 07:40:56 +0000 (15:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Dec 2017 21:41:31 +0000 (16:41 -0500)
commitafce6a1be4de934974031bffc01e8485d91d51bd
treeae4c23a6cf09a9dd1fb712f29feb13a018348563
parent84082fd530da28fa6d526d5585b41484c40ea3ae
drm/amdgpu/sriov:fix memory leak in psp_load_fw

for SR-IOV when doing gpu reset this routine shouldn't do
resource allocating otherwise memory leak

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c