]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msi/mdp4: populate priv->kms in mdp4_kms_init
authorDavid Heidelberg <david@ixit.cz>
Wed, 11 Aug 2021 17:06:31 +0000 (19:06 +0200)
committerRob Clark <robdclark@chromium.org>
Wed, 11 Aug 2021 17:57:28 +0000 (10:57 -0700)
commitcb0927ab80d224c9074f53d1a55b087d12ec5a85
tree34846155c3c66b4a35021aa8fdaaa765b8bf1d2f
parent858c595a3f5d66db1ed003fdefef374ea4a8c961
drm/msi/mdp4: populate priv->kms in mdp4_kms_init

Without this fix boot throws NULL ptr exception at msm_dsi_manager_setup_encoder
on devices like Nexus 7 2013 (MDP4 v4.4).

Fixes: 03436e3ec69c ("drm/msm/dsi: Move setup_encoder to modeset_init")
Cc: <stable@vger.kernel.org>
Signed-off-by: David Heidelberg <david@ixit.cz>
Link: https://lore.kernel.org/r/20210811170631.39296-1-david@ixit.cz
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c