Displaying 18 results from an estimated 18 matches for "nouveau_devobj_ctor".
2012 Nov 10
0
[PATCH] drm/nouveau/clk: fix crystal frequency retrieval on nv25
...ion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/core/subdev/device/base.c b/drivers/gpu/drm/nouveau/core/subdev/device/base.c
index ca9a464..9baef46 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/device/base.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/device/base.c
@@ -208,7 +208,7 @@ nouveau_devobj_ctor(struct nouveau_object *parent,
/* determine frequency of timing crystal */
if ( device->chipset < 0x17 ||
- (device->chipset >= 0x20 && device->chipset <= 0x25))
+ (device->chipset >= 0x20 && device->chipset < 0x25))
strap &= 0...
2013 Sep 05
6
[PATCH 1/7] drm/nouveau: remove prototype for non-existent nouveau_connector_bpp
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
drivers/gpu/drm/nouveau/nouveau_connector.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.h b/drivers/gpu/drm/nouveau/nouveau_connector.h
index 6e399aa..4cefce3 100644
--- a/drivers/gpu/drm/nouveau/nouveau_connector.h
+++ b/drivers/gpu/drm/nouveau/nouveau_connector.h
@@ -107,7 +107,4
2013 Aug 22
5
[Bug 68456] New: kernel NULL pointer dereference on 'modprobe nouveau'
...eau_i2c_create_+0xce/0x1de [nouveau]
kernel: [<ffffffffa0279ad3>] ? nouveau_event_create+0x1d/0x5e [nouveau]
kernel: [<ffffffffa029007b>] ? nv04_i2c_ctor+0x1f/0x2d [nouveau]
kernel: [<ffffffffa027b00f>] ? nouveau_object_ctor+0x2b/0xb7 [nouveau]
kernel: [<ffffffffa029b461>] ? nouveau_devobj_ctor+0x52f/0x5a3 [nouveau]
kernel: [<ffffffffa027b00f>] ? nouveau_object_ctor+0x2b/0xb7 [nouveau]
kernel: [<ffffffffa027b81e>] ? nouveau_object_new+0x162/0x20e [nouveau]
kernel: [<ffffffffa02c9c87>] ? nouveau_drm_load+0x154/0x565 [nouveau]
kernel: [<ffffffffa020c455>] ? drm_get_m...
2013 Sep 26
2
Resource map sanity check fails after GRUB "keeps" the gfx mode
...fff813a8de0>] ? nouveau_bar_create_+0x80/0xb0
[<ffffffff81079577>] ioremap_nocache+0x17/0x20
[<ffffffff813a8de0>] nouveau_bar_create_+0x80/0xb0
[<ffffffff813a984b>] nvc0_bar_ctor+0x4b/0x440
[<ffffffff813a733e>] nouveau_object_ctor+0x3e/0xf0
[<ffffffff813cdfd5>] nouveau_devobj_ctor+0x195/0x700
[<ffffffff813a733e>] nouveau_object_ctor+0x3e/0xf0
[<ffffffff813a7cf7>] nouveau_object_new+0x197/0x250
[<ffffffff81404a6d>] nouveau_drm_load+0x1cd/0x7a0
[<ffffffff8144203e>] ? device_register+0x1e/0x30
[<ffffffff81389206>] ? drm_sysfs_device_add+0x86/0...
2014 Dec 21
6
[Bug 87554] New: [NV1A] 3.19-rc1 NULL dereference on modprobe in pramin_fini
...[<c10dbf41>] ? init_object+0x51/0x60
[ 442.180015] [<dea1f0eb>] nouveau_bios_ctor+0x4b/0x3b0 [nouveau]
[ 442.180015] [<c10dd62f>] ? kmem_cache_alloc_trace+0xcf/0x160
[ 442.180015] [<dea1cd25>] nouveau_object_ctor+0x35/0xd0 [nouveau]
[ 442.180015] [<dea64ebf>] nouveau_devobj_ctor+0x77f/0x880 [nouveau]
[ 442.180015] [<dea1cd25>] nouveau_object_ctor+0x35/0xd0 [nouveau]
[ 442.180015] [<dea1bb89>] nvkm_ioctl_new+0x229/0x300 [nouveau]
[ 442.180015] [<dea1c020>] nvkm_ioctl+0x2a0/0x340 [nouveau]
[ 442.180015] [<deaa913c>] nvkm_client_ioctl+0x1c/0x30...
2013 Dec 21
21
[Bug 72943] New: NV98 [GeForce 9300 gs m] hangs on boot- all linux kernel versions > 3.2
...ved kernel: [ 3839.484006] [<ffffffffa041a875>] ?
nv50_devinit_init+0x45/0x190 [nouveau]
Dec 21 00:44:20 ycradnileved kernel: [ 3839.484006] [<ffffffffa0409c72>] ?
nouveau_object_inc+0xb2/0x1a0 [nouveau]
Dec 21 00:44:20 ycradnileved kernel: [ 3839.484006] [<ffffffffa042d478>] ?
nouveau_devobj_ctor+0x1d8/0x6a0 [nouveau]
Dec 21 00:44:20 ycradnileved kernel: [ 3839.484006] [<ffffffffa0409618>] ?
nouveau_object_ctor+0x28/0xe0 [nouveau]
Dec 21 00:44:20 ycradnileved kernel: [ 3839.484006] [<ffffffffa0409ee0>] ?
nouveau_object_new+0x180/0x240 [nouveau]
Dec 21 00:44:20 ycradnileved ker...
2014 Jun 13
7
[Bug 79971] New: 3.15.0-11819-gc1fdb2d: oops
...fffa0685322 ffff880416b84200 ffff88041768b000
0000000000000023
[ 10.578076] 000000000000002d ffff88041768b110 0000000000000021
ffff8804141cb9b8
[ 10.578076] Call Trace:
[ 10.578099] [<ffffffffa0685322>] nouveau_object_ctor+0x68/0xa5 [nouveau]
[ 10.578126] [<ffffffffa06c1f0c>] nouveau_devobj_ctor+0x521/0x5b4 [nouveau]
[ 10.578146] [<ffffffffa06852e5>] nouveau_object_ctor+0x2b/0xa5 [nouveau]
[ 10.578167] [<ffffffffa0685a1c>] nouveau_object_new+0x13e/0x1dc [nouveau]
[ 10.578197] [<ffffffffa06f5574>] nouveau_drm_load+0x276/0x86b [nouveau]
[ 10.578200] [<fffffff...
2014 Sep 03
5
[Bug 83443] New: Nouveau cras
...0
Sep 03 16:35:34 azerty kernel: Call Trace:
Sep 03 16:35:34 azerty kernel: [<ffffffffa055fb11>]
gf100_ltcg_ctor+0x121/0x160 [nouveau]
Sep 03 16:35:34 azerty kernel: [<ffffffffa0525d91>]
nouveau_object_ctor+0x41/0xf0 [nouveau]
Sep 03 16:35:34 azerty kernel: [<ffffffffa056d326>]
nouveau_devobj_ctor+0x1a6/0x7b0 [nouveau]
Sep 03 16:35:34 azerty kernel: [<ffffffffa0525d91>]
nouveau_object_ctor+0x41/0xf0 [nouveau]
Sep 03 16:35:34 azerty kernel: [<ffffffffa052669b>]
nouveau_object_new+0x18b/0x240 [nouveau]
Sep 03 16:35:34 azerty kernel: [<ffffffffa05aaee8>]
nouveau_drm_load+0x...
2014 Feb 01
0
[RFC 02/16] drm/nouveau: basic support for platform devices
...s(+), 46 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/core/engine/device/base.c b/drivers/gpu/drm/nouveau/core/engine/device/base.c
index dd01c6c..a6abb51 100644
--- a/drivers/gpu/drm/nouveau/core/engine/device/base.c
+++ b/drivers/gpu/drm/nouveau/core/engine/device/base.c
@@ -131,8 +131,8 @@ nouveau_devobj_ctor(struct nouveau_object *parent,
if (ret)
return ret;
- mmio_base = pci_resource_start(device->pdev, 0);
- mmio_size = pci_resource_len(device->pdev, 0);
+ mmio_base = nv_device_resource_start(device, 0);
+ mmio_size = nv_device_resource_len(device, 0);
/* translate api disable mask...
2014 Feb 15
3
[RFC PATCH] drm/nouveau: split off nvc0 compilation
...NOUVEAU) += nouveau.o
diff --git a/drivers/gpu/drm/nouveau/core/engine/device/base.c b/drivers/gpu/drm/nouveau/core/engine/device/base.c
index dd01c6c..c66953b 100644
--- a/drivers/gpu/drm/nouveau/core/engine/device/base.c
+++ b/drivers/gpu/drm/nouveau/core/engine/device/base.c
@@ -205,9 +205,11 @@ nouveau_devobj_ctor(struct nouveau_object *parent,
case NV_30: ret = nv30_identify(device); break;
case NV_40: ret = nv40_identify(device); break;
case NV_50: ret = nv50_identify(device); break;
+#ifdef CONFIG_DRM_NOUVEAU_NVC0
case NV_C0:
case NV_D0: ret = nvc0_identify(device); break;
case NV_E0: re...
2014 Feb 15
0
[RFC PATCH] drm/nouveau: split off nvc0 compilation
...; diff --git a/drivers/gpu/drm/nouveau/core/engine/device/base.c b/drivers/gpu/drm/nouveau/core/engine/device/base.c
> index dd01c6c..c66953b 100644
> --- a/drivers/gpu/drm/nouveau/core/engine/device/base.c
> +++ b/drivers/gpu/drm/nouveau/core/engine/device/base.c
> @@ -205,9 +205,11 @@ nouveau_devobj_ctor(struct nouveau_object *parent,
> case NV_30: ret = nv30_identify(device); break;
> case NV_40: ret = nv40_identify(device); break;
> case NV_50: ret = nv50_identify(device); break;
> +#ifdef CONFIG_DRM_NOUVEAU_NVC0
> cas...
2013 Dec 14
1
Crash on stable kernel 3.13.0-rc3 [NV05]
...c0d18cc4 ef5d9b44 f0cef5ec c0f58200 00000005 f0d85d63 00000001 00000013
00000012 ef5d9b9c f0d2a7f1 00000000 00000012 ef68e738 000037ee 00000005
Call Trace:
[<f0cef579>] ? nouveau_object_inc+0x32/0x165 [nouveau]
[<f0cef5ec>] nouveau_object_inc+0xa5/0x165 [nouveau]
[<f0d2a7f1>] nouveau_devobj_ctor+0x233/0x6f2 [nouveau]
[<f0cef03b>] nouveau_object_ctor+0x2f/0xce [nouveau]
[<f0cef7d9>] nouveau_object_new+0x12d/0x1c7 [nouveau]
[<f0d59ff0>] nouveau_drm_load+0x18c/0x7cf [nouveau]
[<c112a012>] ? kobject_set_name_vargs+0x3d/0x4e
[<f08e2534>] ? drm_sysfs_device_add...
2014 Feb 12
0
[PATCH v2] drm/nouveau: support for platform devices
...eletions(-)
diff --git a/drivers/gpu/drm/nouveau/core/engine/device/base.c b/drivers/gpu/drm/nouveau/core/engine/device/base.c
index dd01c6c435d6..8a8f5f2d0eb5 100644
--- a/drivers/gpu/drm/nouveau/core/engine/device/base.c
+++ b/drivers/gpu/drm/nouveau/core/engine/device/base.c
@@ -131,8 +131,8 @@ nouveau_devobj_ctor(struct nouveau_object *parent,
if (ret)
return ret;
- mmio_base = pci_resource_start(device->pdev, 0);
- mmio_size = pci_resource_len(device->pdev, 0);
+ mmio_base = nv_device_resource_start(device, 0);
+ mmio_size = nv_device_resource_len(device, 0);
/* translate api disable mask...
2014 Mar 23
0
[PATCH] drm/nouveau: allow nv04/nv50/nvc0+ parts of the driver to be separated
...OUVEAU) += nouveau.o
diff --git a/drivers/gpu/drm/nouveau/core/engine/device/base.c b/drivers/gpu/drm/nouveau/core/engine/device/base.c
index dd01c6c..7ddd9b5 100644
--- a/drivers/gpu/drm/nouveau/core/engine/device/base.c
+++ b/drivers/gpu/drm/nouveau/core/engine/device/base.c
@@ -198,16 +198,22 @@ nouveau_devobj_ctor(struct nouveau_object *parent,
}
switch (device->card_type) {
+#ifdef CONFIG_DRM_NOUVEAU_NV04
case NV_04: ret = nv04_identify(device); break;
case NV_10:
case NV_11: ret = nv10_identify(device); break;
case NV_20: ret = nv20_identify(device); break;
case NV_30: ret = nv30_...
2014 Feb 12
2
[PATCH v2] drm/nouveau: support for platform devices
On 12/02/14 05:38, Alexandre Courbot wrote:
> Upcoming mobile Kepler GPUs (such as GK20A) use the platform bus instead
> of PCI to which Nouveau is tightly dependent. This patch allows Nouveau
> to handle platform devices by:
>
> - abstracting PCI-dependent functions that were typically used for
> resource querying and page mapping,
> - introducing a nv_device_is_pci()
2014 Feb 11
2
[PATCH] drm/nouveau: support for platform devices
On Mon, Feb 10, 2014 at 8:50 PM, Thierry Reding
<thierry.reding at gmail.com> wrote:
> On Mon, Feb 10, 2014 at 02:53:00PM +0900, Alexandre Courbot wrote:
> [...]
>> diff --git a/drivers/gpu/drm/nouveau/core/engine/device/base.c b/drivers/gpu/drm/nouveau/core/engine/device/base.c
> [...]
>> +resource_size_t
>> +nv_device_resource_start(struct nouveau_device *device,
2014 Feb 10
2
[PATCH] drm/nouveau: support for platform devices
...eletions(-)
diff --git a/drivers/gpu/drm/nouveau/core/engine/device/base.c b/drivers/gpu/drm/nouveau/core/engine/device/base.c
index dd01c6c435d6..b9f4873dcb23 100644
--- a/drivers/gpu/drm/nouveau/core/engine/device/base.c
+++ b/drivers/gpu/drm/nouveau/core/engine/device/base.c
@@ -131,8 +131,8 @@ nouveau_devobj_ctor(struct nouveau_object *parent,
if (ret)
return ret;
- mmio_base = pci_resource_start(device->pdev, 0);
- mmio_size = pci_resource_len(device->pdev, 0);
+ mmio_base = nv_device_resource_start(device, 0);
+ mmio_size = nv_device_resource_len(device, 0);
/* translate api disable mask...
2014 Feb 01
28
[RFC 00/16] drm/nouveau: initial support for GK20A (Tegra K1)
Hello everyone,
GK20A is the Kepler-based GPU used in the upcoming Tegra K1 chips. The following
patches perform architectural changes to Nouveau that are necessary to support
non-PCI GPUs and add initial support for GK20A. Although the support is still
very basic and more user-space changes will be needed to make the full graphics
stack run on top of it, we were able to successfully open