commit | d59c026b7be1dd9ae00b54d1916a90775fe3bdda | [log] [tgz] |
---|---|---|
author | Monk Liu <Monk.Liu@amd.com> | Fri Sep 15 14:35:09 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Sep 26 15:14:13 2017 -0400 |
tree | 20d3703306567c9bdf7685bb80868038b3491b30 | |
parent | eb01abc7c4fd1faa26d0787f410894d9c704eb60 [diff] |
drm/amdgpu/sriov:fix memory leak after gpu reset GPU reset will require all hw doing hw_init thus ucode_init_bo will be invoked again, which lead to memory leak skip the fw_buf allocation during sriov gpu reset to avoid memory leak. Signed-off-by: Monk Liu <Monk.Liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>