linux/drivers/gpu/drm/msm
Miaoqian Lin c6fa1de83f drm/msm/dpu: Fix memory leak in msm_mdss_parse_data_bus_icc_path
[ Upstream commit 45dac1352b ]

of_icc_get() alloc resources for path1, we should release it when not
need anymore. Early return when IS_ERR_OR_NULL(path0) may leak path1.
Defer getting path1 to fix this.

Fixes: b9364eed92 ("drm/msm/dpu: Move min BW request and full BW disable back to mdss")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/514264/
Link: https://lore.kernel.org/r/20221207065922.2086368-1-linmq006@gmail.com
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:58:23 +01:00
..
adreno drm/msm/adreno: Make adreno quirks not overwrite each other 2023-01-18 11:58:16 +01:00
disp drm/msm/dpu: Fix some kernel-doc comments 2023-01-18 11:58:23 +01:00
dp drm/msm/dp: do not complete dp_aux_cmd_fifo_tx() if irq is not for aux transfer 2023-01-18 11:58:18 +01:00
dsi drm/msm/dsi: Prevent signed BPG offsets from bleeding into adjacent bits 2022-12-31 13:32:08 +01:00
hdmi
Kconfig
Makefile
msm_atomic_trace.h
msm_atomic_tracepoints.c
msm_atomic.c
msm_debugfs.c
msm_debugfs.h
msm_drv.c drm/msm: another fix for the headless Adreno GPU 2023-01-18 11:58:16 +01:00
msm_drv.h
msm_fb.c
msm_fbdev.c
msm_fence.c
msm_fence.h
msm_gem_prime.c
msm_gem_shrinker.c
msm_gem_submit.c
msm_gem_vma.c
msm_gem.c
msm_gem.h
msm_gpu_devfreq.c
msm_gpu_trace.h
msm_gpu_tracepoints.c
msm_gpu.c
msm_gpu.h
msm_gpummu.c
msm_io_utils.c
msm_iommu.c
msm_kms.h
msm_mdss.c drm/msm/dpu: Fix memory leak in msm_mdss_parse_data_bus_icc_path 2023-01-18 11:58:23 +01:00
msm_mmu.h
msm_perf.c
msm_rd.c
msm_ringbuffer.c
msm_ringbuffer.h
msm_submitqueue.c
NOTES