]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/msm: Add missing stub definition
authorRobin Murphy <robin.murphy@arm.com>
Mon, 26 Oct 2020 12:48:37 +0000 (12:48 +0000)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 4 Jan 2021 15:36:31 +0000 (16:36 +0100)
BugLink: https://bugs.launchpad.net/bugs/1910111
[ Upstream commit a0b21e0ad29420b04911a98d360b9586168eeae5 ]

DRM_MSM fails to build with DRM_MSM_DP=n; add the missing stub.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on
Signed-off-by: Rob Clark <robdclark@chromium.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/gpu/drm/msm/msm_drv.h

index b9dd8f8f4887243ce6669d3015d2f8cc7b2b3da3..0b2686b060c7310c76da1961ca57684926746e0c 100644 (file)
@@ -423,6 +423,11 @@ static inline int msm_dp_display_disable(struct msm_dp *dp,
 {
        return -EINVAL;
 }
+static inline int msm_dp_display_pre_disable(struct msm_dp *dp,
+                                       struct drm_encoder *encoder)
+{
+       return -EINVAL;
+}
 static inline void msm_dp_display_mode_set(struct msm_dp *dp,
                                struct drm_encoder *encoder,
                                struct drm_display_mode *mode,