dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Inki Dae <inki.dae@samsung.com>
To: 'Sachin Kamat' <sachin.kamat@linaro.org>,
	dri-devel@lists.freedesktop.org
Cc: 'Andrzej Hajda' <a.hajda@samsung.com>, patches@linaro.org
Subject: RE: [PATCH 1/1] drm/exynos: Fix build error with exynos_drm_connector.c
Date: Fri, 30 Aug 2013 19:00:20 +0900	[thread overview]
Message-ID: <02f601cea567$bc888080$35998180$%dae@samsung.com> (raw)
In-Reply-To: <1377853851-32636-1-git-send-email-sachin.kamat@linaro.org>


> -----Original Message-----
> From: Sachin Kamat [mailto:sachin.kamat@linaro.org]
> Sent: Friday, August 30, 2013 6:11 PM
> To: dri-devel@lists.freedesktop.org
> Cc: inki.dae@samsung.com; sachin.kamat@linaro.org; patches@linaro.org;
> Andrzej Hajda
> Subject: [PATCH 1/1] drm/exynos: Fix build error with
> exynos_drm_connector.c
> 
> exynos_drm_connector.c now uses videomode helper API. Hence select
> VIDEOMODE_HELPERS at DRM_EXYNOS level itself instead of at
> DRM_EXYNOS_FIMD to avoid the following compilation error when FIMD
> is not selected (introduced by commit cf796235a6 "drm/exynos: fimd:
> replace struct fb_videomode with videomode"):
> drivers/built-in.o: In function `exynos_drm_connector_get_modes':
> drivers/gpu/drm/exynos/exynos_drm_connector.c:86:
> undefined reference to `drm_display_mode_from_videomode'

Applied.

Thanks,
Inki Dae

> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Andrzej Hajda <a.hajda@samsung.com>
> ---
>  drivers/gpu/drm/exynos/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/exynos/Kconfig
> b/drivers/gpu/drm/exynos/Kconfig
> index 80a251a..4752f22 100644
> --- a/drivers/gpu/drm/exynos/Kconfig
> +++ b/drivers/gpu/drm/exynos/Kconfig
> @@ -6,6 +6,7 @@ config DRM_EXYNOS
>  	select FB_CFB_COPYAREA
>  	select FB_CFB_IMAGEBLIT
>  	select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
> +	select VIDEOMODE_HELPERS
>  	help
>  	  Choose this option if you have a Samsung SoC EXYNOS chipset.
>  	  If M is selected the module will be called exynosdrm.
> @@ -26,7 +27,6 @@ config DRM_EXYNOS_FIMD
>  	bool "Exynos DRM FIMD"
>  	depends on DRM_EXYNOS && !FB_S3C && !ARCH_MULTIPLATFORM
>  	select FB_MODE_HELPERS
> -	select VIDEOMODE_HELPERS
>  	help
>  	  Choose this option if you want to use Exynos FIMD for DRM.
> 
> --
> 1.7.9.5

      reply	other threads:[~2013-08-30 10:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-30  9:10 [PATCH 1/1] drm/exynos: Fix build error with exynos_drm_connector.c Sachin Kamat
2013-08-30 10:00 ` Inki Dae [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='02f601cea567$bc888080$35998180$%dae@samsung.com' \
    --to=inki.dae@samsung.com \
    --cc=a.hajda@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=patches@linaro.org \
    --cc=sachin.kamat@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox