linux/drivers/gpu/drm/msm
Haowen Bai 8caad14e72 drm/msm/dpu: Fix pointer dereferenced before checking
The phys_enc->wb_idx is dereferencing before null checking, so move
it after checking.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fixes: d7d0e73f7d ("drm/msm/dpu: introduce the dpu_encoder_phys_* for
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/487606/
Link: https://lore.kernel.org/r/1653877196-23114-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
2022-06-01 16:16:05 -07:00
..
adreno drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init 2022-05-18 10:54:39 -07:00
disp drm/msm/dpu: Fix pointer dereferenced before checking 2022-06-01 16:16:05 -07:00
dp drm/msm/dp: Always clear mask bits to disable interrupts at dp_ctrl_reset_irq_ctrl() 2022-06-01 16:15:05 -07:00
dsi drm/msm/dsi: don't powerup at modeset time for parade-ps8640 2022-05-18 10:51:42 -07:00
hdmi drm/msm/hdmi: fix error check return value of irq_of_parse_and_map() 2022-05-02 02:39:34 +03:00
Kconfig drm/msm: select DRM_DP_AUX_BUS for the AUX bus support 2022-05-02 02:39:23 +03:00
Makefile drm/msm/dpu: add the writeback connector layer 2022-05-02 02:13:00 +03:00
msm_atomic_trace.h
msm_atomic_tracepoints.c
msm_atomic.c drm/msm: Avoid dirtyfb stalls on video mode displays (v2) 2022-02-25 07:59:58 -08:00
msm_debugfs.c drm/msm: replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE 2022-02-18 18:32:52 +03:00
msm_debugfs.h
msm_drv.c drm/msm: don't free the IRQ if it was not requested 2022-05-18 15:55:46 -07:00
msm_drv.h drm/msm/dp: remove extra wrappers and public functions 2022-05-02 02:13:01 +03:00
msm_fb.c drm/msm: Fix fb plane offset calculation 2022-05-18 10:55:47 -07:00
msm_fbdev.c drm/msm: Remove unnecessary struct_mutex 2021-11-28 09:50:33 -08:00
msm_fence.c drm/msm/gem: Add fenced vma unpin 2022-04-21 15:03:12 -07:00
msm_fence.h drm/msm/gem: Add fenced vma unpin 2022-04-21 15:03:12 -07:00
msm_gem_prime.c drm/msm: return an error pointer in msm_gem_prime_get_sg_table() 2022-05-07 02:10:35 +03:00
msm_gem_shrinker.c treewide: Add missing includes masked by cgroup -> bpf dependency 2021-12-03 10:58:13 -08:00
msm_gem_submit.c drm/msm: Limit command submission when no IOMMU 2022-05-07 09:56:42 -07:00
msm_gem_vma.c drm/msm: Add a way for userspace to allocate GPU iova 2022-04-21 15:03:12 -07:00
msm_gem.c drm/msm: Add a way for userspace to allocate GPU iova 2022-04-21 15:03:12 -07:00
msm_gem.h drm/msm: Add a way for userspace to allocate GPU iova 2022-04-21 15:03:12 -07:00
msm_gpu_devfreq.c drm/msm: return the average load over the polling period 2022-04-21 15:05:23 -07:00
msm_gpu_trace.h
msm_gpu_tracepoints.c
msm_gpu.c drm/msm: Fix null pointer dereferences without iommu 2022-05-02 10:11:44 -07:00
msm_gpu.h drm/msm: return the average load over the polling period 2022-04-21 15:05:23 -07:00
msm_gpummu.c
msm_io_utils.c drm/msm: move utility functions from msm_drv.c 2022-02-18 18:32:52 +03:00
msm_iommu.c
msm_kms.h drm/msm: don't free the IRQ if it was not requested 2022-05-18 15:55:46 -07:00
msm_mdss.c drm/msm: Fix shutdown 2022-05-07 02:10:35 +03:00
msm_mmu.h
msm_perf.c drm/msm: Remove struct_mutex usage 2021-11-28 09:50:33 -08:00
msm_rd.c drm/msm: Add support for pointer params 2022-04-21 15:01:08 -07:00
msm_ringbuffer.c drm/msm: change msm_sched_ops from global to static 2022-04-27 10:50:22 +03:00
msm_ringbuffer.h drm/msm/gpu: Drop duplicate fence counter 2022-04-21 15:03:11 -07:00
msm_submitqueue.c drm/msm: Add a way to override processes comm/cmdline 2022-04-21 15:01:09 -07:00
NOTES