Searched hist:d59c026b7be1dd9ae00b54d1916a90775fe3bdda (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ucode.c | diff d59c026b7be1dd9ae00b54d1916a90775fe3bdda Fri Sep 15 01:35:09 CDT 2017 Monk Liu <Monk.Liu@amd.com> 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>
|
H A D | amdgpu.h | diff d59c026b7be1dd9ae00b54d1916a90775fe3bdda Fri Sep 15 01:35:09 CDT 2017 Monk Liu <Monk.Liu@amd.com> 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>
|