]> 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)
commit77a3c96b1bcb5f69367df79f964367dd7f086dcc
treeae4c23a6cf09a9dd1fb712f29feb13a018348563
parent503846e0836a62f6efd536a4c495917c1a50b345
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