From patchwork Tue Apr 9 06:35:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murphy Zhou X-Patchwork-Id: 2415951 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 8545E3FD8C for ; Tue, 9 Apr 2013 17:02:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 623BFE6169 for ; Tue, 9 Apr 2013 10:02:24 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by gabe.freedesktop.org (Postfix) with ESMTP id E3E3FE5CB2 for ; Mon, 8 Apr 2013 23:36:16 -0700 (PDT) Received: by mail-pb0-f48.google.com with SMTP id xb4so102033pbc.35 for ; Mon, 08 Apr 2013 23:36:16 -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=kBmPz6lcn9MkW/eKCaQOqZhTq/2md9jwaog3Hj0hNgPMT9D3BlS0tMf1P9aY3yfAIN M5avRKQieCroEQJ1eU2+DXF98CKVmiCqPZPkRShxXE1F7eJa8hrPcU50laYjeQyaY4Ur WJTHQnq1LOIBTLls/8F/n3ivrubDjDXYfk6n7vl+FTZJt2gg9A54B+wwrT6Ds5qKqK/N ie7CdfyH7Sy0kYujH0RWSUtLXUEUzh2ii2yvNlHPdQRsmAeJ/aC+35g5qP4hnyUor6NU iDJRvG+FGi+IBoV8l/u3UP48O4p5c/F12gLwljkLsShnc3DYeVc6KgidNm3tDMmF1EV0 Xmqg== X-Received: by 10.66.72.105 with SMTP id c9mr42533273pav.177.1365489376652; Mon, 08 Apr 2013 23:36:16 -0700 (PDT) Received: from M2420.local ([123.127.250.67]) by mx.google.com with ESMTPS id aj2sm948404pbc.1.2013.04.08.23.36.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Apr 2013 23:36:15 -0700 (PDT) Date: Tue, 9 Apr 2013 14:35:00 +0800 (CST) From: Xiong Zhou X-X-Sender: zx@M2420 To: airlied@redhat.com, alan@linux.intel.com, dri-devel@lists.freedesktop.org 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: Tue, 09 Apr 2013 10:02:11 -0700 Cc: linux-kernel@vger.kernel.org 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