]> 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)
commit0a9566861f7ad5bee4edb322dc4ca4785169abab
treeae4c23a6cf09a9dd1fb712f29feb13a018348563
parent833a954354c8681c24f1005281fbf27eb787adde
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