From patchwork Sat May 30 01:13:52 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 27026 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4U1EDJf023549 for ; Sat, 30 May 2009 01:14:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754280AbZE3BOJ (ORCPT ); Fri, 29 May 2009 21:14:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754349AbZE3BOJ (ORCPT ); Fri, 29 May 2009 21:14:09 -0400 Received: from vms173003pub.verizon.net ([206.46.173.3]:40279 "EHLO vms173003pub.verizon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754280AbZE3BOI (ORCPT ); Fri, 29 May 2009 21:14:08 -0400 Received: from localhost.localdomain ([98.118.45.40]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KKF000B5NF6S8X0@vms173003.mailsrvcs.net>; Fri, 29 May 2009 20:14:00 -0500 (CDT) Received: from localhost.localdomain (d975xbx2 [127.0.0.1]) by localhost.localdomain (8.14.2/8.14.2) with ESMTP id n4U1DrSo031236; Fri, 29 May 2009 21:13:53 -0400 Received: from localhost (lenb@localhost) by localhost.localdomain (8.14.2/8.14.2/Submit) with ESMTP id n4U1DqdY031231; Fri, 29 May 2009 21:13:52 -0400 X-Authentication-warning: localhost.localdomain: lenb owned process doing -bs Date: Fri, 29 May 2009 21:13:52 -0400 (EDT) From: Len Brown X-X-Sender: lenb@localhost.localdomain To: Randy Dunlap Cc: Woody Suwalski , "Rafael J. Wysocki" , Zorael , ACPI Devel Maling List , LKML Subject: Re: [i915] Kernel does not compile when set to use i915 kernel mode-setting per default (CONFIG_DRM_I915_KMS=y) In-reply-to: <4A1475D5.6080602@oracle.com> Message-id: References: <4A1464C9.9030603@xandros.com> <4A1475D5.6080602@oracle.com> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Len Brown Subject: [PATCH] ACPI, i915: build fix (v2) drivers/built-in.o: In function `intel_opregion_init': (.text+0x9d540): undefined reference to `acpi_video_register' v2: move under DRM_I915 from DRM_I915_KMS Signed-off-by: Len Brown Signed-off-by: Randy Dunlap --- as applied. thanks, -Len drivers/gpu/drm/Kconfig | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 4cd35d8..f5d46e7 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -67,12 +67,18 @@ config DRM_I830 will load the correct one. config DRM_I915 + tristate "i915 driver" select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT select FB select FRAMEBUFFER_CONSOLE if !EMBEDDED - tristate "i915 driver" + # i915 depends on ACPI_VIDEO when ACPI is enabled + # but for select to work, need to select ACPI_VIDEO's dependencies, ick + select VIDEO_OUTPUT_CONTROL if ACPI + select BACKLIGHT_CLASS_DEVICE if ACPI + select INPUT if ACPI + select ACPI_VIDEO if ACPI help Choose this option if you have a system that has Intel 830M, 845G, 852GM, 855GM 865G or 915G integrated graphics. If M is selected, the @@ -84,12 +90,6 @@ config DRM_I915 config DRM_I915_KMS bool "Enable modesetting on intel by default" depends on DRM_I915 - # i915 KMS depends on ACPI_VIDEO when ACPI is enabled - # but for select to work, need to select ACPI_VIDEO's dependencies, ick - select VIDEO_OUTPUT_CONTROL if ACPI - select BACKLIGHT_CLASS_DEVICE if ACPI - select INPUT if ACPI - select ACPI_VIDEO if ACPI help Choose this option if you want kernel modesetting enabled by default, and you have a new enough userspace to support this. Running old