]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 10:26:38 +0000 (12:26 +0200)
commitfa40aa56701eb38bc99ff8cae2b8b805050d5063
treea4ab99f5aa4845be4185fe7bd73b022c846b8ba1
parent2760a45d81b3a48cd2445e22eef6bf7ed1f46bc2
drm/msi/mdp4: populate priv->kms in mdp4_kms_init

commit cb0927ab80d224c9074f53d1a55b087d12ec5a85 upstream.

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

Fixes: b7ff342bf53c ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c