From patchwork Sun Apr 7 06:32:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murphy Zhou X-Patchwork-Id: 2403541 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 120C03FD40 for ; Sun, 7 Apr 2013 22:03:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0CFD5E6016 for ; Sun, 7 Apr 2013 15:03:57 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by gabe.freedesktop.org (Postfix) with ESMTP id 3EF9CE5DB7 for ; Sat, 6 Apr 2013 23:32:47 -0700 (PDT) Received: by mail-pa0-f54.google.com with SMTP id fa11so2686953pad.41 for ; Sat, 06 Apr 2013 23:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:x-x-sender:to:cc:subject:message-id:user-agent :mime-version:content-type; bh=1q/yu2Igqw1f0yyU+MPQMA3iuiC+aEJ+DPjHoRPu2nI=; b=Y8BqZq5EGv6jr2/UZqZj0QOQ6WJpl6HU72kcdxHjAfMdeV2upsBwrBirPMpOx8qthM ZG9SgoOQnxD2HlbQZQUlxMhwo75TIboe2s2wpALwjQFG+6t9OiPYBOoSia4MFPf5P/cW WjiDNJPlH7cUNTb9vb6VOptY0Y5kE5GN6rM5kagRZAon4fnzzAe/Xk1V8spnTz7mVUtb ABjlVsUWIx9zIeiv0VkpJKbJjKY5amxOeA9PknQewA7RFFA+MDnAxQFjdG338oyq0+pv /rh+x7TxYieVRMj6cwSBPhauymDjdgDBT+jo89/cLEQdtEdHWMGUkKKISznE6nw2wiIq 1WWg== X-Received: by 10.67.3.39 with SMTP id bt7mr25504459pad.161.1365316367125; Sat, 06 Apr 2013 23:32:47 -0700 (PDT) Received: from M2420.local ([123.127.250.67]) by mx.google.com with ESMTPS id ve7sm26568865pab.11.2013.04.06.23.32.43 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 06 Apr 2013 23:32:46 -0700 (PDT) Date: Sun, 7 Apr 2013 14:32:34 +0800 (CST) From: Xiong Zhou X-X-Sender: zx@M2420 To: linux-kernel@vger.kernel.org, airlied@linux.ie Subject: [PATCH] drivers/gpu/drm/gma500:fix build failure for 3.9-rc5 Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 07 Apr 2013 14:55:36 -0700 Cc: daniel.vetter@ffwll.ch, dri-devel@lists.freedesktop.org, alan@linux.intel.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org From: Xiong Zhou This patch fixes build failure of v3.9-rc5. When config ACPI_VIDEO as m, DRM_GMA500 as y, here comes the failure. gma5/600 needs acpi_video just like nouveau. 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 --- drivers/gpu/drm/gma500/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/gma500/Kconfig b/drivers/gpu/drm/gma500/Kconfig index 1188f0f..d64fc45 100644 --- a/drivers/gpu/drm/gma500/Kconfig +++ b/drivers/gpu/drm/gma500/Kconfig @@ -6,6 +6,7 @@ config DRM_GMA500 select FB_CFB_IMAGEBLIT select DRM_KMS_HELPER select DRM_TTM + select ACPI_VIDEO if ACPI && X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL && INPUT help Say yes for an experimental 2D KMS framebuffer driver for the Intel GMA500 ('Poulsbo') and other Intel IMG based graphics