Re: [PATCH] drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()

2022-09-13 Thread Alex Deucher
Applied. Thanks! On Mon, Sep 12, 2022 at 10:12 PM Rafael Mendonca wrote: > > 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.

[PATCH] drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()

2022-09-12 Thread Rafael Mendonca
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"