linux/drivers/gpu/drm/msm
Abhinav Kumar 61f0479757 drm/msm/dsi: add protection against NULL dsi device
When panel probe happens after DSI probe, the DSI probe is deferred as
per current design. In the probe defer path dsi device is destroyed.
This NULL dsi device could be deferenced by the panel probe in the
mipi_dsi_attach path.

Check for NULL dsi device before accessing it.

Changes in v2:
 - Add more comments on how this NULL pointer situation will be hit

Reported-by: Jeffrey Hugo <jhugo@codeaurora.org>
Tested-by: Jeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2019-06-18 14:02:26 -07:00
..
adreno drm/msm/adreno: Ensure that the zap shader region is big enough 2019-06-18 14:00:54 -07:00
disp drm/msm/mdp5: Fix mdp5_cfg_init error return 2019-06-18 13:54:48 -07:00
dsi drm/msm/dsi: add protection against NULL dsi device 2019-06-18 14:02:26 -07:00
edp drm-misc-next for 5.1: 2019-01-18 09:31:28 +10:00
hdmi drm-misc-next for 5.1: 2019-01-18 09:31:28 +10:00
Kconfig drm/msm/a6xx: Don't enable GPU state code if dependencies are missing 2019-04-21 07:52:36 -07:00
Makefile drm: prefix header search paths with $(srctree)/ 2019-04-26 17:03:23 +02:00
msm_atomic.c drm/msm: remove resv fields from msm_gem_object struct 2019-05-14 10:19:30 -04:00
msm_debugfs.c drm/msm/a6xx: Don't enable GPU state code if dependencies are missing 2019-04-21 07:52:36 -07:00
msm_debugfs.h
msm_drv.c drm/msm: Pass the MMU domain index in struct msm_file_private 2019-06-18 13:46:43 -07:00
msm_drv.h drm/msm: Pass the MMU domain index in struct msm_file_private 2019-06-18 13:46:43 -07:00
msm_fb.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
msm_fbdev.c drm/msm: Use drm_fb_helper_fill_info 2019-03-27 10:02:53 +01:00
msm_fence.c drm/msm: Remove unecessary dma_fence_ops 2018-08-17 11:22:25 +02:00
msm_fence.h drm/msm: strip out msm_fence_cb 2018-03-19 06:33:35 -04:00
msm_gem_prime.c drm: msm: Switch to use drm_gem_object reservation_object 2019-02-19 11:08:40 +01:00
msm_gem_shrinker.c
msm_gem_submit.c drm/msm: Pass the MMU domain index in struct msm_file_private 2019-06-18 13:46:43 -07:00
msm_gem_vma.c drm/msm: Fix NULL pointer dereference 2019-04-18 10:04:09 -07:00
msm_gem.c drm/msm: correct attempted NULL pointer dereference in debugfs 2019-05-14 13:53:58 -04:00
msm_gem.h drm/msm: Pass the MMU domain index in struct msm_file_private 2019-06-18 13:46:43 -07:00
msm_gpu_trace.h drm/msm/gpu: Add trace events for tracking GPU submissions 2018-12-11 13:05:28 -05:00
msm_gpu_tracepoints.c drm/msm/gpu: Add trace events for tracking GPU submissions 2018-12-11 13:05:28 -05:00
msm_gpu.c drm/msm: Pass the MMU domain index in struct msm_file_private 2019-06-18 13:46:43 -07:00
msm_gpu.h drm/msm: add param to retrieve # of GPU faults (global) 2019-04-19 11:50:00 -07:00
msm_gpummu.c drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_iommu.c drm/msm: Print all 64 bits of the faulting IOMMU address 2019-06-18 13:46:35 -07:00
msm_kms.h drm/msm: Cut dpu_kms hooks from msm_pm_suspend/resume 2018-12-11 12:51:27 -05:00
msm_mmu.h drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_perf.c msm: no need to check return value of debugfs_create functions 2019-06-18 13:45:14 -07:00
msm_rd.c msm: no need to check return value of debugfs_create functions 2019-06-18 13:45:14 -07:00
msm_ringbuffer.c drm/msm/gpu: Map the ringbuffer in the iova at create time 2018-12-11 13:07:03 -05:00
msm_ringbuffer.h drm/msm/gpu: Add per-submission statistics 2018-12-11 13:05:28 -05:00
msm_submitqueue.c drm/msm/gpu: Add submit queue queries 2019-04-19 11:50:06 -07:00
NOTES