Gentoo Archives: gentoo-commits

From: "Mike Pagano (mpagano)" <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] linux-patches r1713 - genpatches-2.6/trunk/2.6.34
Date: Thu, 03 Jun 2010 20:05:57
Message-Id: 20100603200555.1A5322CF48@corvid.gentoo.org
1 Author: mpagano
2 Date: 2010-06-03 20:05:53 +0000 (Thu, 03 Jun 2010)
3 New Revision: 1713
4
5 Added:
6 genpatches-2.6/trunk/2.6.34/2700_nouveau-acpi-lid-open-undefined-fix.patch
7 Modified:
8 genpatches-2.6/trunk/2.6.34/0000_README
9 Log:
10 Fix for acpi_lid_open undefined error in nouveau driver
11
12 Modified: genpatches-2.6/trunk/2.6.34/0000_README
13 ===================================================================
14 --- genpatches-2.6/trunk/2.6.34/0000_README 2010-06-02 20:44:43 UTC (rev 1712)
15 +++ genpatches-2.6/trunk/2.6.34/0000_README 2010-06-03 20:05:53 UTC (rev 1713)
16 @@ -39,6 +39,10 @@
17 Individual Patch Descriptions:
18 --------------------------------------------------------------------------
19
20 +Patch: 2700_nouveau-acpi-lid-open-undefined-fix.patch
21 +From: http://bugs.gentoo.org/show_bug.cgi?id=322001
22 +Desc: nouveau: fix acpi_lid_open undefined
23 +
24 Patch: 2900_xconfig-with-qt4.patch
25 From: http://bugs.gentoo.org/show_bug.cgi?id=320761
26 Desc: xconfig patch for qt4 - thanks to Sam Iam
27
28 Added: genpatches-2.6/trunk/2.6.34/2700_nouveau-acpi-lid-open-undefined-fix.patch
29 ===================================================================
30 --- genpatches-2.6/trunk/2.6.34/2700_nouveau-acpi-lid-open-undefined-fix.patch (rev 0)
31 +++ genpatches-2.6/trunk/2.6.34/2700_nouveau-acpi-lid-open-undefined-fix.patch 2010-06-03 20:05:53 UTC (rev 1713)
32 @@ -0,0 +1,12 @@
33 +--- a/drivers/gpu/drm/nouveau/nouveau_connector.c 2010-06-03 15:39:37.000000000 -0400
34 ++++ b/drivers/gpu/drm/nouveau/nouveau_connector.c 2010-06-03 15:41:29.000000000 -0400
35 +@@ -241,7 +241,8 @@ nouveau_connector_detect(struct drm_conn
36 + if (nv_encoder && nv_connector->native_mode) {
37 + unsigned status = connector_status_connected;
38 +
39 +-#ifdef CONFIG_ACPI
40 ++#if defined(CONFIG_ACPI_BUTTON) || \
41 ++ (defined(CONFIG_ACPI_BUTTON_MODULE) && defined(MODULE))
42 + if (!nouveau_ignorelid && !acpi_lid_open())
43 + status = connector_status_unknown;
44 + #endif