summaryrefslogtreecommitdiff
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorAlice Wong <shiwei.wong@amd.com>2022-05-02 18:40:18 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-05-04 17:01:53 +0300
commitab0cd4a9ae5b4679b714d8dbfedc0901fecdce9f (patch)
treea0f450219cb714ee15fbf3ee7bc4f84cd339df0d /include/uapi/drm
parent6d5276cdf9943bebcf8ae04ffaad37bee4c0a8db (diff)
downloadlinux-ab0cd4a9ae5b4679b714d8dbfedc0901fecdce9f.tar.xz
drm/amdgpu/ucode: Remove firmware load type check in amdgpu_ucode_free_bo
When psp_hw_init failed, it will set the load_type to AMDGPU_FW_LOAD_DIRECT. During amdgpu_device_ip_fini, amdgpu_ucode_free_bo checks that load_type is AMDGPU_FW_LOAD_DIRECT and skips deallocating fw_buf causing memory leak. Remove load_type check in amdgpu_ucode_free_bo. Signed-off-by: Alice Wong <shiwei.wong@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/drm')
0 files changed, 0 insertions, 0 deletions