All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] backports: take up up to next-20130426
@ 2013-05-13 10:24 Luis R. Rodriguez
  2013-05-13 10:24 ` [PATCH 1/3] backports: add support for regulator_map_voltage_ascend() Luis R. Rodriguez
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Luis R. Rodriguez @ 2013-05-13 10:24 UTC (permalink / raw)
  To: backports; +Cc: Luis R. Rodriguez

From: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>

This series takes us up to next-20130426. The next tag
is next-20130429 and it seems that Linus took accepted
code reflected there so for instance we'll need to
complete the backport of these next:

  * remove_proc_subtree() 
  * proc_set_size()
  * ttm_bo_reference()
  * ttm_bo_unref()
  * ttm_kmap_obj_virtual()

Luis R. Rodriguez (3):
  backports: add support for regulator_map_voltage_ascend()
  backports: refresh patches for next-20130424
  backports: refresh patches for next-20130426

 backport/backport-include/linux/regulator/driver.h |   26 ++++++++
 backport/compat/Makefile                           |    1 +
 backport/compat/backport-3.10.c                    |   62 ++++++++++++++++++++
 .../drivers_gpu_drm_i915_intel_opregion.patch      |    2 +-
 .../drivers_bluetooth_btmrvl_sdio.patch            |    6 +-
 .../net_bluetooth_hci_core.patch                   |    2 +-
 .../drivers_net_wireless_mwifiex_init.patch        |    2 +-
 .../drivers_bluetooth_btusb.patch                  |    2 +-
 8 files changed, 96 insertions(+), 7 deletions(-)
 create mode 100644 backport/backport-include/linux/regulator/driver.h
 create mode 100644 backport/compat/backport-3.10.c

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/3] backports: add support for regulator_map_voltage_ascend()
  2013-05-13 10:24 [PATCH 0/3] backports: take up up to next-20130426 Luis R. Rodriguez
@ 2013-05-13 10:24 ` Luis R. Rodriguez
  2013-05-13 10:24 ` [PATCH 2/3] backports: refresh patches for next-20130424 Luis R. Rodriguez
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: Luis R. Rodriguez @ 2013-05-13 10:24 UTC (permalink / raw)
  To: backports; +Cc: Luis R. Rodriguez

From: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>

This is required by some drivers as of next-20130424.

commit fcf371ee5624cc87abac205cd0dad2432d7f0346
Author: Axel Lin <axel.lin@ingics.com>
Date:   Thu Apr 18 10:34:49 2013 +0800

    regulator: core: Add regulator_map_voltage_ascend() API

    A lot of regulator hardware has ascendant voltage list.
    This patch adds regulator_map_voltage_ascend() and export it.

    Drivers that have ascendant voltage list can use this as their map_voltage()
    operation, this is more efficient than default regulator_map_voltage_iterate()
    function.

    Signed-off-by: Axel Lin <axel.lin@ingics.com>
    Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 backport/backport-include/linux/regulator/driver.h |   26 ++++++++
 backport/compat/Makefile                           |    1 +
 backport/compat/backport-3.10.c                    |   62 ++++++++++++++++++++
 3 files changed, 89 insertions(+)
 create mode 100644 backport/backport-include/linux/regulator/driver.h
 create mode 100644 backport/compat/backport-3.10.c

diff --git a/backport/backport-include/linux/regulator/driver.h b/backport/backport-include/linux/regulator/driver.h
new file mode 100644
index 0000000..fbd9845
--- /dev/null
+++ b/backport/backport-include/linux/regulator/driver.h
@@ -0,0 +1,26 @@
+/*
+ * driver.h -- SoC Regulator driver support.
+ *
+ * Copyright (C) 2007, 2008 Wolfson Microelectronics PLC.
+ *
+ * Author: Liam Girdwood <lrg@slimlogic.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Regulator Driver Interface.
+ */
+
+#ifndef __BACKPORT_LINUX_REGULATOR_DRIVER_H_
+#define __BACKPORT_LINUX_REGULATOR_DRIVER_H_
+
+#include <linux/version.h>
+#include_next <linux/regulator/driver.h>
+
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0))
+int regulator_map_voltage_ascend(struct regulator_dev *rdev,
+				 int min_uV, int max_uV);
+#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0)) */
+
+#endif /* __BACKPORT_LINUX_REGULATOR_DRIVER_H_ */
diff --git a/backport/compat/Makefile b/backport/compat/Makefile
index 2ab3169..18df156 100644
--- a/backport/compat/Makefile
+++ b/backport/compat/Makefile
@@ -34,6 +34,7 @@ compat-$(CPTCFG_BACKPORT_KERNEL_3_6) += compat-3.6.o
 compat-$(CPTCFG_BACKPORT_KERNEL_3_7) += compat-3.7.o
 compat-$(CPTCFG_BACKPORT_KERNEL_3_8) += compat-3.8.o
 compat-$(CPTCFG_BACKPORT_KERNEL_3_9) += compat-3.9.o
+compat-$(CPTCFG_BACKPORT_KERNEL_3_10) += backport-3.10.o
 
 compat-$(CPTCFG_BACKPORT_BUILD_KFIFO) += kfifo.o
 compat-$(CPTCFG_BACKPORT_BUILD_GENERIC_ATOMIC64) += compat_atomic.o
diff --git a/backport/compat/backport-3.10.c b/backport/compat/backport-3.10.c
new file mode 100644
index 0000000..69c3788
--- /dev/null
+++ b/backport/compat/backport-3.10.c
@@ -0,0 +1,62 @@
+/*
+ * Copyright (c) 2013  Luis R. Rodriguez <mcgrof@do-not-panic.com>
+ *
+ * Linux backport symbols for kernels 3.10.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0))
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/debugfs.h>
+#include <linux/device.h>
+#include <linux/slab.h>
+#include <linux/async.h>
+#include <linux/err.h>
+#include <linux/mutex.h>
+#include <linux/suspend.h>
+#include <linux/delay.h>
+#include <linux/gpio.h>
+#include <linux/of.h>
+#include <linux/regmap.h>
+#include <linux/regulator/of_regulator.h>
+#include <linux/regulator/consumer.h>
+#include <linux/regulator/driver.h>
+#include <linux/regulator/machine.h>
+#include <linux/module.h>
+
+/**
+ * regulator_map_voltage_ascend - map_voltage() for ascendant voltage list
+ *
+ * @rdev: Regulator to operate on
+ * @min_uV: Lower bound for voltage
+ * @max_uV: Upper bound for voltage
+ *
+ * Drivers that have ascendant voltage list can use this as their
+ * map_voltage() operation.
+ */
+int regulator_map_voltage_ascend(struct regulator_dev *rdev,
+				 int min_uV, int max_uV)
+{
+	int i, ret;
+
+	for (i = 0; i < rdev->desc->n_voltages; i++) {
+		ret = rdev->desc->ops->list_voltage(rdev, i);
+		if (ret < 0)
+			continue;
+
+		if (ret > max_uV)
+			break;
+
+		if (ret >= min_uV && ret <= max_uV)
+			return i;
+	}
+
+	return -EINVAL;
+}
+EXPORT_SYMBOL_GPL(regulator_map_voltage_ascend);
+
+#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0)) */
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/3] backports: refresh patches for next-20130424
  2013-05-13 10:24 [PATCH 0/3] backports: take up up to next-20130426 Luis R. Rodriguez
  2013-05-13 10:24 ` [PATCH 1/3] backports: add support for regulator_map_voltage_ascend() Luis R. Rodriguez
@ 2013-05-13 10:24 ` Luis R. Rodriguez
  2013-05-13 10:24 ` [PATCH 3/3] backports: refresh patches for next-20130426 Luis R. Rodriguez
  2013-05-15  7:43 ` [PATCH 0/3] backports: take up up to next-20130426 Johannes Berg
  3 siblings, 0 replies; 10+ messages in thread
From: Luis R. Rodriguez @ 2013-05-13 10:24 UTC (permalink / raw)
  To: backports; +Cc: Luis R. Rodriguez

From: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>

== ckmake-report.log ==

1   2.6.24              [  OK  ]
2   2.6.25              [  OK  ]
3   2.6.26              [  OK  ]
4   2.6.27              [  OK  ]
5   2.6.28              [  OK  ]
6   2.6.29              [  OK  ]
7   2.6.30              [  OK  ]
8   2.6.31              [  OK  ]
9   2.6.32              [  OK  ]
10  2.6.33              [  OK  ]
11  2.6.34              [  OK  ]
12  2.6.35              [  OK  ]
13  2.6.36              [  OK  ]
14  2.6.37              [  OK  ]
15  2.6.38              [  OK  ]
16  2.6.39              [  OK  ]
17  3.0.76              [  OK  ]
18  3.1.10              [  OK  ]
19  3.2.44              [  OK  ]
20  3.3.8               [  OK  ]
21  3.4.43              [  OK  ]
22  3.5.7               [  OK  ]
23  3.6.11              [  OK  ]
24  3.7.10              [  OK  ]
25  3.8.11              [  OK  ]
26  3.9.0               [  OK  ]

real    30m48.012s
user    814m18.301s
sys     127m38.575s

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 .../29-sdio_no_suspend/drivers_bluetooth_btmrvl_sdio.patch       |    6 +++---
 .../network/46-use_other_workqueue/net_bluetooth_hci_core.patch  |    2 +-
 .../drivers_net_wireless_mwifiex_init.patch                      |    2 +-
 .../network/62-usb_driver_lpm/drivers_bluetooth_btusb.patch      |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/patches/collateral-evolutions/network/29-sdio_no_suspend/drivers_bluetooth_btmrvl_sdio.patch b/patches/collateral-evolutions/network/29-sdio_no_suspend/drivers_bluetooth_btmrvl_sdio.patch
index ed6f80a..67ab72a 100644
--- a/patches/collateral-evolutions/network/29-sdio_no_suspend/drivers_bluetooth_btmrvl_sdio.patch
+++ b/patches/collateral-evolutions/network/29-sdio_no_suspend/drivers_bluetooth_btmrvl_sdio.patch
@@ -1,6 +1,6 @@
 --- a/drivers/bluetooth/btmrvl_sdio.c
 +++ b/drivers/bluetooth/btmrvl_sdio.c
-@@ -1050,6 +1050,7 @@ static void btmrvl_sdio_remove(struct sd
+@@ -1055,6 +1055,7 @@ static void btmrvl_sdio_remove(struct sd
  	}
  }
  
@@ -8,7 +8,7 @@
  static int btmrvl_sdio_suspend(struct device *dev)
  {
  	struct sdio_func *func = dev_to_sdio_func(dev);
-@@ -1145,6 +1146,7 @@ static const struct dev_pm_ops btmrvl_sd
+@@ -1150,6 +1151,7 @@ static const struct dev_pm_ops btmrvl_sd
  	.suspend	= btmrvl_sdio_suspend,
  	.resume		= btmrvl_sdio_resume,
  };
@@ -16,7 +16,7 @@
  
  static struct sdio_driver bt_mrvl_sdio = {
  	.name		= "btmrvl_sdio",
-@@ -1153,7 +1155,9 @@ static struct sdio_driver bt_mrvl_sdio =
+@@ -1158,7 +1160,9 @@ static struct sdio_driver bt_mrvl_sdio =
  	.remove		= btmrvl_sdio_remove,
  	.drv = {
  		.owner = THIS_MODULE,
diff --git a/patches/collateral-evolutions/network/46-use_other_workqueue/net_bluetooth_hci_core.patch b/patches/collateral-evolutions/network/46-use_other_workqueue/net_bluetooth_hci_core.patch
index 9d12fdb..f37f09e 100644
--- a/patches/collateral-evolutions/network/46-use_other_workqueue/net_bluetooth_hci_core.patch
+++ b/patches/collateral-evolutions/network/46-use_other_workqueue/net_bluetooth_hci_core.patch
@@ -1,6 +1,6 @@
 --- a/net/bluetooth/hci_core.c
 +++ b/net/bluetooth/hci_core.c
-@@ -2191,16 +2191,24 @@ int hci_register_dev(struct hci_dev *hde
+@@ -2202,16 +2202,24 @@ int hci_register_dev(struct hci_dev *hde
  	list_add(&hdev->list, &hci_dev_list);
  	write_unlock(&hci_dev_list_lock);
  
diff --git a/patches/collateral-evolutions/network/47-no_trans_start_on_netdev_queue/drivers_net_wireless_mwifiex_init.patch b/patches/collateral-evolutions/network/47-no_trans_start_on_netdev_queue/drivers_net_wireless_mwifiex_init.patch
index 45234aa..c8f586c 100644
--- a/patches/collateral-evolutions/network/47-no_trans_start_on_netdev_queue/drivers_net_wireless_mwifiex_init.patch
+++ b/patches/collateral-evolutions/network/47-no_trans_start_on_netdev_queue/drivers_net_wireless_mwifiex_init.patch
@@ -1,6 +1,6 @@
 --- a/drivers/net/wireless/mwifiex/init.c
 +++ b/drivers/net/wireless/mwifiex/init.c
-@@ -371,8 +371,10 @@ void mwifiex_set_trans_start(struct net_
+@@ -369,8 +369,10 @@ void mwifiex_set_trans_start(struct net_
  {
  	int i;
  
diff --git a/patches/collateral-evolutions/network/62-usb_driver_lpm/drivers_bluetooth_btusb.patch b/patches/collateral-evolutions/network/62-usb_driver_lpm/drivers_bluetooth_btusb.patch
index e93af5f..e37f726 100644
--- a/patches/collateral-evolutions/network/62-usb_driver_lpm/drivers_bluetooth_btusb.patch
+++ b/patches/collateral-evolutions/network/62-usb_driver_lpm/drivers_bluetooth_btusb.patch
@@ -1,6 +1,6 @@
 --- a/drivers/bluetooth/btusb.c
 +++ b/drivers/bluetooth/btusb.c
-@@ -1242,7 +1242,9 @@ static struct usb_driver btusb_driver =
+@@ -1619,7 +1619,9 @@ static struct usb_driver btusb_driver =
  #endif
  	.id_table	= btusb_table,
  	.supports_autosuspend = 1,
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 3/3] backports: refresh patches for next-20130426
  2013-05-13 10:24 [PATCH 0/3] backports: take up up to next-20130426 Luis R. Rodriguez
  2013-05-13 10:24 ` [PATCH 1/3] backports: add support for regulator_map_voltage_ascend() Luis R. Rodriguez
  2013-05-13 10:24 ` [PATCH 2/3] backports: refresh patches for next-20130424 Luis R. Rodriguez
@ 2013-05-13 10:24 ` Luis R. Rodriguez
  2013-05-15  7:43 ` [PATCH 0/3] backports: take up up to next-20130426 Johannes Berg
  3 siblings, 0 replies; 10+ messages in thread
From: Luis R. Rodriguez @ 2013-05-13 10:24 UTC (permalink / raw)
  To: backports; +Cc: Luis R. Rodriguez

From: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>

== ckmake-report.log ==

1   2.6.24              [  OK  ]
2   2.6.25              [  OK  ]
3   2.6.26              [  OK  ]
4   2.6.27              [  OK  ]
5   2.6.28              [  OK  ]
6   2.6.29              [  OK  ]
7   2.6.30              [  OK  ]
8   2.6.31              [  OK  ]
9   2.6.32              [  OK  ]
10  2.6.33              [  OK  ]
11  2.6.34              [  OK  ]
12  2.6.35              [  OK  ]
13  2.6.36              [  OK  ]
14  2.6.37              [  OK  ]
15  2.6.38              [  OK  ]
16  2.6.39              [  OK  ]
17  3.0.76              [  OK  ]
18  3.1.10              [  OK  ]
19  3.2.44              [  OK  ]
20  3.3.8               [  OK  ]
21  3.4.43              [  OK  ]
22  3.5.7               [  OK  ]
23  3.6.11              [  OK  ]
24  3.7.10              [  OK  ]
25  3.8.11              [  OK  ]
26  3.9.0               [  OK  ]

real    30m52.106s
user    816m17.749s
sys     127m27.702s

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 .../drivers_gpu_drm_i915_intel_opregion.patch                        |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patches/collateral-evolutions/drm/05-i915-define-acpi-video-class/drivers_gpu_drm_i915_intel_opregion.patch b/patches/collateral-evolutions/drm/05-i915-define-acpi-video-class/drivers_gpu_drm_i915_intel_opregion.patch
index 2ad5abf..334ff43 100644
--- a/patches/collateral-evolutions/drm/05-i915-define-acpi-video-class/drivers_gpu_drm_i915_intel_opregion.patch
+++ b/patches/collateral-evolutions/drm/05-i915-define-acpi-video-class/drivers_gpu_drm_i915_intel_opregion.patch
@@ -1,6 +1,6 @@
 --- a/drivers/gpu/drm/i915/intel_opregion.c
 +++ b/drivers/gpu/drm/i915/intel_opregion.c
-@@ -307,6 +307,9 @@ static int intel_opregion_video_event(st
+@@ -259,6 +259,9 @@ static int intel_opregion_video_event(st
  	struct acpi_bus_event *event = data;
  	int ret = NOTIFY_OK;
  
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/3] backports: take up up to next-20130426
  2013-05-13 10:24 [PATCH 0/3] backports: take up up to next-20130426 Luis R. Rodriguez
                   ` (2 preceding siblings ...)
  2013-05-13 10:24 ` [PATCH 3/3] backports: refresh patches for next-20130426 Luis R. Rodriguez
@ 2013-05-15  7:43 ` Johannes Berg
  2013-05-16  3:45   ` Luis R. Rodriguez
  3 siblings, 1 reply; 10+ messages in thread
From: Johannes Berg @ 2013-05-15  7:43 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: backports

On Mon, 2013-05-13 at 03:24 -0700, Luis R. Rodriguez wrote:
> From: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
> 
> This series takes us up to next-20130426. 

Also applied these.

> The next tag
> is next-20130429 and it seems that Linus took accepted
> code reflected there so for instance we'll need to
> complete the backport of these next:
> 
>   * remove_proc_subtree() 
>   * proc_set_size()
>   * ttm_bo_reference()
>   * ttm_bo_unref()
>   * ttm_kmap_obj_virtual()

I take it these are more problematic?

johannes


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/3] backports: take up up to next-20130426
  2013-05-15  7:43 ` [PATCH 0/3] backports: take up up to next-20130426 Johannes Berg
@ 2013-05-16  3:45   ` Luis R. Rodriguez
  2013-05-16  3:56     ` Luis R. Rodriguez
  0 siblings, 1 reply; 10+ messages in thread
From: Luis R. Rodriguez @ 2013-05-16  3:45 UTC (permalink / raw)
  To: Johannes Berg; +Cc: backports

On Wed, May 15, 2013 at 12:43 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
>>   * remove_proc_subtree()

This can't be backported modularly so I'm going to revert the patches
that add this and encourage debugfs to be used in the future.

>>   * proc_set_size()

I just backported this.

>>   * ttm_bo_reference()
>>   * ttm_bo_unref()
>>   * ttm_kmap_obj_virtual()

These seem to be issues with header include order for ttm_bo_driver.h
and I cannot figure out why or how, for the failing case I suspect the
kernel's header file is being used instead of our copy. DRM drivers
use two include forms for including ttm_bo_driver.h:

#include <ttm/ttm_bo_driver.h>
#include <drm/ttm/ttm_bo_driver.h>

drivers/gpu/drm/ttm/ttm_bo_vm.c compiled fine which used the first
form while nouveau fails and uses the later.

  Luis

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/3] backports: take up up to next-20130426
  2013-05-16  3:45   ` Luis R. Rodriguez
@ 2013-05-16  3:56     ` Luis R. Rodriguez
  2013-05-16  5:44       ` Luis R. Rodriguez
  0 siblings, 1 reply; 10+ messages in thread
From: Luis R. Rodriguez @ 2013-05-16  3:56 UTC (permalink / raw)
  To: Johannes Berg; +Cc: backports

On Wed, May 15, 2013 at 8:45 PM, Luis R. Rodriguez
<mcgrof@do-not-panic.com> wrote:
> while nouveau fails and uses the later.

Actually I see now drivers that use either work so this seems to be
nouveau specific.

  Luis

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/3] backports: take up up to next-20130426
  2013-05-16  3:56     ` Luis R. Rodriguez
@ 2013-05-16  5:44       ` Luis R. Rodriguez
  2013-05-16 11:24         ` Johannes Berg
  0 siblings, 1 reply; 10+ messages in thread
From: Luis R. Rodriguez @ 2013-05-16  5:44 UTC (permalink / raw)
  To: Johannes Berg; +Cc: backports

On Wed, May 15, 2013 at 8:56 PM, Luis R. Rodriguez
<mcgrof@do-not-panic.com> wrote:
> On Wed, May 15, 2013 at 8:45 PM, Luis R. Rodriguez
> <mcgrof@do-not-panic.com> wrote:
>> while nouveau fails and uses the later.
>
> Actually I see now drivers that use either work so this seems to be
> nouveau specific.

This seems to be because of the new changes that stuffed nouveau files
into separate directories:

drivers/gpu/drm/nouveau/core/
drivers/gpu/drm/nouveau/dispnv04/

I've tried this but no luck.

--- a/drivers/gpu/drm/nouveau/Makefile
+++ b/drivers/gpu/drm/nouveau/Makefile
@@ -3,9 +3,9 @@
 # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.

 ccflags-y := -Iinclude/drm
-ccflags-y += -I$(src)/core/include
-ccflags-y += -I$(src)/core
-ccflags-y += -I$(src)
+ccflags-y += -I$(backport_srctree)/drivers/gpu/drm/nouveau/core/include/
+ccflags-y += -I$(backport_srctree)/drivers/gpu/drm/nouveau/core/
+ccflags-y += -I$(backport_srctree)/drivers/gpu/drm/nouveau/

 nouveau-y := core/core/client.o
 nouveau-y += core/core/engctx.o


  Luis

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/3] backports: take up up to next-20130426
  2013-05-16  5:44       ` Luis R. Rodriguez
@ 2013-05-16 11:24         ` Johannes Berg
  2013-05-16 22:28           ` Luis R. Rodriguez
  0 siblings, 1 reply; 10+ messages in thread
From: Johannes Berg @ 2013-05-16 11:24 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: backports

On Wed, 2013-05-15 at 22:44 -0700, Luis R. Rodriguez wrote:

> >> while nouveau fails and uses the later.
> >
> > Actually I see now drivers that use either work so this seems to be
> > nouveau specific.
> 
> This seems to be because of the new changes that stuffed nouveau files
> into separate directories:
> 
> drivers/gpu/drm/nouveau/core/
> drivers/gpu/drm/nouveau/dispnv04/
> 
> I've tried this but no luck.
> 
> --- a/drivers/gpu/drm/nouveau/Makefile
> +++ b/drivers/gpu/drm/nouveau/Makefile
> @@ -3,9 +3,9 @@
>  # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
> 
>  ccflags-y := -Iinclude/drm

Isn't this part actually the issue?

Are you adding an override ttm_bo_driver.h file? Maybe include_next
doesn't work right with this -Iinclude/drm?

johannes


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 0/3] backports: take up up to next-20130426
  2013-05-16 11:24         ` Johannes Berg
@ 2013-05-16 22:28           ` Luis R. Rodriguez
  0 siblings, 0 replies; 10+ messages in thread
From: Luis R. Rodriguez @ 2013-05-16 22:28 UTC (permalink / raw)
  To: Johannes Berg; +Cc: backports

On Thu, May 16, 2013 at 4:24 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Wed, 2013-05-15 at 22:44 -0700, Luis R. Rodriguez wrote:
>
>> >> while nouveau fails and uses the later.
>> >
>> > Actually I see now drivers that use either work so this seems to be
>> > nouveau specific.
>>
>> This seems to be because of the new changes that stuffed nouveau files
>> into separate directories:
>>
>> drivers/gpu/drm/nouveau/core/
>> drivers/gpu/drm/nouveau/dispnv04/
>>
>> I've tried this but no luck.
>>
>> --- a/drivers/gpu/drm/nouveau/Makefile
>> +++ b/drivers/gpu/drm/nouveau/Makefile
>> @@ -3,9 +3,9 @@
>>  # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
>>
>>  ccflags-y := -Iinclude/drm
>
> Isn't this part actually the issue?

Yes... thanks. Odd, I thought I tested against that. I'll send patches.

> Are you adding an override ttm_bo_driver.h file? Maybe include_next
> doesn't work right with this -Iinclude/drm?

Nope.

 Luis

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-05-16 22:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-13 10:24 [PATCH 0/3] backports: take up up to next-20130426 Luis R. Rodriguez
2013-05-13 10:24 ` [PATCH 1/3] backports: add support for regulator_map_voltage_ascend() Luis R. Rodriguez
2013-05-13 10:24 ` [PATCH 2/3] backports: refresh patches for next-20130424 Luis R. Rodriguez
2013-05-13 10:24 ` [PATCH 3/3] backports: refresh patches for next-20130426 Luis R. Rodriguez
2013-05-15  7:43 ` [PATCH 0/3] backports: take up up to next-20130426 Johannes Berg
2013-05-16  3:45   ` Luis R. Rodriguez
2013-05-16  3:56     ` Luis R. Rodriguez
2013-05-16  5:44       ` Luis R. Rodriguez
2013-05-16 11:24         ` Johannes Berg
2013-05-16 22:28           ` Luis R. Rodriguez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.