diff mbox series

drm/msm: Add missing stub definition

Message ID b9117317819c8b63d558231e6b88410ea717065e.1603716447.git.robin.murphy@arm.com
State Accepted
Commit a0b21e0ad29420b04911a98d360b9586168eeae5
Headers show
Series drm/msm: Add missing stub definition | expand

Commit Message

Robin Murphy Oct. 26, 2020, 12:48 p.m. UTC
DRM_MSM fails to build with DRM_MSM_DP=n; add the missing stub.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
---
 drivers/gpu/drm/msm/msm_drv.h | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Rob Clark Oct. 26, 2020, 3:28 p.m. UTC | #1
On Mon, Oct 26, 2020 at 5:48 AM Robin Murphy <robin.murphy@arm.com> wrote:
>
> DRM_MSM fails to build with DRM_MSM_DP=n; add the missing stub.
>
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>

Thanks..

Reviewed-by: Rob Clark <robdclark@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
>
patchwork-bot+linux-arm-msm@kernel.org Dec. 29, 2020, 8:15 p.m. UTC | #2
Hello:

This patch was applied to qcom/linux.git (refs/heads/for-next):

On Mon, 26 Oct 2020 12:48:37 +0000 you wrote:
> DRM_MSM fails to build with DRM_MSM_DP=n; add the missing stub.

> 

> Signed-off-by: Robin Murphy <robin.murphy@arm.com>

> ---

>  drivers/gpu/drm/msm/msm_drv.h | 5 +++++

>  1 file changed, 5 insertions(+)


Here is the summary with links:
  - drm/msm: Add missing stub definition
    https://git.kernel.org/qcom/c/a0b21e0ad294

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

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,