diff options
author | Robin Murphy <robin.murphy@arm.com> | 2020-10-26 12:48:37 +0000 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-11-01 10:39:12 -0800 |
commit | a0b21e0ad29420b04911a98d360b9586168eeae5 (patch) | |
tree | 4f06b9c63e552d410c99cce7e5420539914f038d | |
parent | 6400a8e886c6a3ee0cfcbcdc0867a3e91186683c (diff) |
drm/msm: Add missing stub definition
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>
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index 1a377128ee2c..4a37a50254a5 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -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, |