diff options
| author | 2022-09-12 19:34:32 -0300 | |
|---|---|---|
| committer | 2022-09-13 14:33:01 -0400 | |
| commit | 7136f956c73c4ba50bfeb61653dfd6a9669ea915 (patch) | |
| tree | d27908748cfdc21c68385843be3cf15d25c5df4b /tools/scripts/ssh:/git@git.zx2c4.com | |
| parent | drm/amdgpu: fix warning about missing imu prototype (diff) | |
| download | linux-dev-7136f956c73c4ba50bfeb61653dfd6a9669ea915.tar.xz linux-dev-7136f956c73c4ba50bfeb61653dfd6a9669ea915.zip | |
drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()
If construction of the array of work queues to handle hpd_rx_irq offload
work fails, we need to unwind. Destroy all the created workqueues and
the allocated memory for the hpd_rx_irq_offload_work_queue struct array.
Fixes: 8e794421bc98 ("drm/amd/display: Fork thread to offload work of hpd_rx_irq")
Signed-off-by: Rafael Mendonca <rafaelmendsr@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
