linux_dsm_epyc7002/drivers/gpu/drm/msm/dsi
Sean Paul 74d3a3a707 drm/msm: Fix NULL deref on bind/probe deferral
This patch avoids dereferencing msm_host->dev when it is NULL.

If we find ourselves tearing down dsi before calling
(mdp4|mdp5|dpu)_kms_init(), we'll end up in a state where the dev
pointer is NULL and trying to extract priv from it will fail.

This was introduced in a seemingly innocuous commit to ensure the
arguments to msm_gem_put_iova() are correct (even though that
function has been a stub for ~5 years). Correctness FTW! \o/

Fixes: b01884a286b0 drm/msm: use correct aspace pointer in msm_gem_put_iova()
Cc: Daniel Mack <daniel@zonque.org>
Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2018-06-04 12:50:42 -04:00
..
phy drm/msm/dsi: implement auto PHY timing calculator for 10nm PHY 2018-06-03 16:48:59 -04:00
pll drm/msm/dsi: Populate PLL 10nm clock ops 2018-02-20 10:41:20 -05:00
dsi_cfg.c drm/msm/dsi: Add SDM845 in dsi_cfg 2018-02-20 10:41:21 -05:00
dsi_cfg.h drm/msm/dsi: Add SDM845 in dsi_cfg 2018-02-20 10:41:21 -05:00
dsi_host.c drm/msm: Fix NULL deref on bind/probe deferral 2018-06-04 12:50:42 -04:00
dsi_manager.c drm/msm/dsi: correct DSI id bounds check during registration 2018-02-20 10:41:20 -05:00
dsi.c drm/msm/dsi: Fix potential NULL pointer dereference in msm_dsi_modeset_init 2018-03-19 06:33:34 -04:00
dsi.h drm/msm/dsi: Add skeleton 10nm PHY/PLL code 2018-02-20 10:41:20 -05:00
dsi.xml.h drm/msm/dsi: Update generated headers for 10nm PLL/PHY 2018-02-20 10:41:20 -05:00
mmss_cc.xml.h drm/msm: update generated headers 2017-06-16 11:16:07 -04:00
sfpb.xml.h drm/msm: update generated headers 2017-06-16 11:16:07 -04:00