[Freedreno] [PATCH] drm/msm: Add missing stub definition
Rob Clark
robdclark at gmail.com
Mon Oct 26 15:28:17 UTC 2020
On Mon, Oct 26, 2020 at 5:48 AM Robin Murphy <robin.murphy at arm.com> wrote:
>
> DRM_MSM fails to build with DRM_MSM_DP=n; add the missing stub.
>
> Signed-off-by: Robin Murphy <robin.murphy at arm.com>
Thanks..
Reviewed-by: Rob Clark <robdclark at gmail.com>
and looks like,
Fixes: 8ede2ecc3e5e ("drm/msm/dp: Add DP compliance tests on
Snapdragon Chipsets")
> ---
> drivers/gpu/drm/msm/msm_drv.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h
> index b9dd8f8f4887..0b2686b060c7 100644
> --- a/drivers/gpu/drm/msm/msm_drv.h
> +++ b/drivers/gpu/drm/msm/msm_drv.h
> @@ -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,
> --
> 2.28.0.dirty
>
More information about the Freedreno
mailing list