drm/msm: Add missing stub definition
authorRobin Murphy <robin.murphy@arm.com>
Mon, 26 Oct 2020 12:48:37 +0000 (12:48 +0000)
committerRob Clark <robdclark@chromium.org>
Sun, 1 Nov 2020 18:39:12 +0000 (10:39 -0800)
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>
drivers/gpu/drm/msm/msm_drv.h

index 1a377128ee2c4f45a075c8257c68b61f376649bb..4a37a50254a5ba4698adef0985f20d015ea80e87 100644 (file)
@@ -424,6 +424,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,