diff options
author | 2023-12-21 18:13:11 +0530 | |
---|---|---|
committer | 2024-01-15 18:32:06 -0500 | |
commit | 8a44fdd3cf91debbd09b43bd2519ad2b2486ccf4 (patch) | |
tree | 9384737ae41015e04bd3a7bde3b452e34d3746d9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | drm/amdgpu: Fix unsigned comparison with less than zero in vpe_u1_8_from_fraction() (diff) | |
download | wireguard-linux-8a44fdd3cf91debbd09b43bd2519ad2b2486ccf4.tar.xz wireguard-linux-8a44fdd3cf91debbd09b43bd2519ad2b2486ccf4.zip |
drm/amdgpu: Release 'adev->pm.fw' before return in 'amdgpu_device_need_post()'
In function 'amdgpu_device_need_post(struct amdgpu_device *adev)' -
'adev->pm.fw' may not be released before return.
Using the function release_firmware() to release adev->pm.fw.
Thus fixing the below:
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:1571 amdgpu_device_need_post() warn: 'adev->pm.fw' from request_firmware() not released on lines: 1554.
Cc: Monk Liu <Monk.Liu@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Suggested-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions