mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
To: Xiong Zhou <jencce.kernel@gmail.com>
Cc: airlied@redhat.com, alan@linux.intel.com,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] gma500:fix build failure for 3.9-rc5
Date: Wed, 10 Apr 2013 19:46:33 +0200	[thread overview]
Message-ID: <CAMeQTsap-ZbP9e-nqfu8GDLBLZ9a8H6RYYnxkuV1e1AUkXW-RQ@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1304102035250.15970@M2420>

On Wed, Apr 10, 2013 at 2:37 PM, Xiong Zhou <jencce.kernel@gmail.com> wrote:
> From: Xiong Zhou <jencce.kernel@gmail.com>
>
> Last version of this patch is not clear enough and X86 duplicated.
>
> This patch fixes build failure of v3.9-rc5 and rc6.
> When config ACPI_VIDEO as m, DRM_GMA500 as y, here comes the failure.
> GMA5/600 needs acpi_video just like nouveau.
> And some tab type fix by the way.
>
> Failure message:
> drivers/built-in.o: In function `psb_driver_load':
> kernel-3.9-rc5/drivers/gpu/drm/gma500/psb_drv.c:340: \
>         undefined reference to `acpi_video_register'
> make: *** [vmlinux] Error 1
>
> Signed-off-by: Xiong Zhou <jencce.kernel@gmail.com>
> ---
> drivers/gpu/drm/gma500/Kconfig |   13 +++++++++----
> 1 file changed, 9 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/gma500/Kconfig b/drivers/gpu/drm/gma500/Kconfig
> index 1188f0f..1f6e2df 100644
> --- a/drivers/gpu/drm/gma500/Kconfig
> +++ b/drivers/gpu/drm/gma500/Kconfig
> @@ -2,10 +2,15 @@ config DRM_GMA500
>         tristate "Intel GMA5/600 KMS Framebuffer"
>         depends on DRM && PCI && X86
>         select FB_CFB_COPYAREA
> -        select FB_CFB_FILLRECT
> -        select FB_CFB_IMAGEBLIT
> -        select DRM_KMS_HELPER
> -        select DRM_TTM
> +       select FB_CFB_FILLRECT
> +       select FB_CFB_IMAGEBLIT
> +       select DRM_KMS_HELPER
> +       select DRM_TTM
> +       # GMA500 depends on ACPI_VIDEO when ACPI is enabled, just like i915
> +       select ACPI_VIDEO if ACPI
> +       select BACKLIGHT_CLASS_DEVICE if ACPI
> +       select VIDEO_OUTPUT_CONTROL if ACPI
> +       select INPUT if ACPI
>         help
>           Say yes for an experimental 2D KMS framebuffer driver for the
>           Intel GMA500 ('Poulsbo') and other Intel IMG based graphics

Your patch has been applied to:
https://github.com/patjak/drm-gma500.git gma500-next

I didn't have c97fc5f regarding the experimental dep in my tree so I had to fix
that. Will sort out the missing patch later.

Thanks
Patrik

      reply	other threads:[~2013-04-10 17:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-10 12:37 Xiong Zhou
2013-04-10 17:46 ` Patrik Jakobsson [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=CAMeQTsap-ZbP9e-nqfu8GDLBLZ9a8H6RYYnxkuV1e1AUkXW-RQ@mail.gmail.com \
    --to=patrik.r.jakobsson@gmail.com \
    --cc=airlied@redhat.com \
    --cc=alan@linux.intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jencce.kernel@gmail.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®