search for: nouveau_drm_init

Displaying 20 results from an estimated 68 matches for "nouveau_drm_init".

Did you mean: nouveau_dmem_init
2015 Jan 15
2
[PATCH] drm: merge nouveau_platform.ko into nouveau.ko
...nouveau_object_ref(NULL, &device); nouveau_object_debug(); } -EXPORT_SYMBOL(nouveau_drm_device_remove); static void nouveau_drm_remove(struct pci_dev *pdev) @@ -1083,7 +1083,6 @@ err_free: return ERR_PTR(err); } -EXPORT_SYMBOL(nouveau_platform_device_create_); static int __init nouveau_drm_init(void) @@ -1105,6 +1104,10 @@ nouveau_drm_init(void) if (!nouveau_modeset) return 0; +#ifdef CONFIG_NOUVEAU_PLATFORM_DRIVER + platform_driver_register(&nouveau_platform_driver); +#endif + nouveau_register_dsm_handler(); return drm_pci_init(&driver_pci, &nouveau_drm_pci_driver)...
2018 Feb 13
2
4.16-rc1: UBSAN warning in nouveau/nvkm/subdev/therm/base.c + oops in nvkm_therm_clkgate_fini
...ch+0x86/0xb8 [ 7.406330] ? driver_probe_device+0x383/0x383 [ 7.406427] bus_for_each_dev+0x4e/0x83 [ 7.406522] driver_attach+0x1d/0x33 [ 7.406618] ? driver_probe_device+0x383/0x383 [ 7.406714] bus_add_driver+0x184/0x273 [ 7.406810] driver_register+0x66/0x107 [ 7.407039] ? nouveau_drm_init+0x66/0x1000 [nouveau] [ 7.407146] __pci_register_driver+0x47/0x71 [ 7.407379] nouveau_drm_init+0x18a/0x1000 [nouveau] [ 7.407478] ? 0xf831a000 [ 7.407575] do_one_initcall+0x4f/0x1e2 [ 7.407672] ? free_unref_page_commit.isra.88+0xd5/0x176 [ 7.407771] ? kvfree+0x3c/0x3e [ 7...
2015 Jan 15
0
[PATCH] drm: merge nouveau_platform.ko into nouveau.ko
...> } > -EXPORT_SYMBOL(nouveau_drm_device_remove); > > static void > nouveau_drm_remove(struct pci_dev *pdev) > @@ -1083,7 +1083,6 @@ err_free: > > return ERR_PTR(err); > } > -EXPORT_SYMBOL(nouveau_platform_device_create_); > > static int __init > nouveau_drm_init(void) > @@ -1105,6 +1104,10 @@ nouveau_drm_init(void) > if (!nouveau_modeset) > return 0; > > +#ifdef CONFIG_NOUVEAU_PLATFORM_DRIVER > + platform_driver_register(&nouveau_platform_driver); > +#endif > + > nouveau_register_dsm_hand...
2018 Dec 08
4
TK1: DRM, Nouveau and VIC
...v+0x74/0xb4) [ 8.683729] [<c05a5790>] (bus_for_each_dev) from [<c05a692c>] (bus_add_driver+0x1c0/0x204) [ 8.692004] [<c05a692c>] (bus_add_driver) from [<c05a84a0>] (driver_register+0x74/0x108) [ 8.700324] [<c05a84a0>] (driver_register) from [<bf1aa170>] (nouveau_drm_init+0x170/0x1000 [nouveau]) [ 8.709857] [<bf1aa170>] (nouveau_drm_init [nouveau]) from [<c0102ed0>] (do_one_initcall+0x54/0x284) [ 8.718980] [<c0102ed0>] (do_one_initcall) from [<c01b3dd4>] (do_init_module+0x64/0x214) [ 8.727079] [<c01b3dd4>] (do_init_module) f...
2014 Mar 10
1
[PATCH] drm/nouveau: print a message when KMS is disabled
...uveau_drm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index 89c484d..bb6409b 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -984,8 +984,10 @@ nouveau_drm_init(void) #endif } - if (!nouveau_modeset) + if (!nouveau_modeset) { + DRM_INFO("Nouveau will not load as KMS was disabled.\n"); return 0; + } nouveau_register_dsm_handler(); return drm_pci_init(&driver, &nouveau_drm_pci_driver); -- 1.9.0
2018 Nov 06
2
[PATCH] drm/nouveau: tegra: Initialize mode configuration
...x74/0xb4) [ 19.200383] [<c06a038c>] (bus_for_each_dev) from [<c06a1528>] (bus_add_driver+0x1c0/0x204) [ 19.208644] [<c06a1528>] (bus_add_driver) from [<c06a30d8>] (driver_register+0x74/0x108) [ 19.216928] [<c06a30d8>] (driver_register) from [<bf292170>] (nouveau_drm_init+0x170/0x1000 [nouveau]) [ 19.226429] [<bf292170>] (nouveau_drm_init [nouveau]) from [<c0202dbc>] (do_one_initcall+0x54/0x284) [ 19.235557] [<c0202dbc>] (do_one_initcall) from [<c02b2880>] (do_init_module+0x64/0x214) [ 19.243643] [<c02b2880>] (do_init_module) f...
2015 Jan 05
3
[PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions
On Tue, Dec 30, 2014 at 11:18:34AM +0800, Vince Hsu wrote: > Hi Emil, > > On 12/30/2014 10:34 AM, Emil Velikov wrote: > >On 23/12/14 10:40, Vince Hsu wrote: > >>This patch adds some checks in the suspend/resume functions to distinguish > >>the dGPU and mobile GPU and exports some variables/functions so that the > >>nouveau platform device can reuse them.
2015 Jan 06
2
[PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions
...o register the platform driver. > > > > > Something like the attached patch (untested) ought to do it. > > This patch alone won't be enough for the reason I mentioned above. > However, if Vince doesn't mind handling the platform driver > registration manually in nouveau_drm_init/nouveau_drm_exit, I agree > this would be the way to go. If we do the conversion to generic power domains, the only Tegra- specific API remaining will be the access to the fuse registers for the speedo value. At that point we wouldn't need the ARCH_TEGRA dependency any longer and could alwa...
2015 May 21
2
[PATCH 1/2] drm/nouveau: add staging module option
...DRM_DEBUG_DRIVER("... pstate : %d\n", nouveau_pstate); > + DRM_DEBUG_DRIVER("... staging : %d\n", nouveau_staging); > } > > static const struct dev_pm_ops nouveau_pm_ops = { > @@ -1088,6 +1094,18 @@ err_free: > static int __init > nouveau_drm_init(void) > { > + /* Do not register staging ioctsl if option not specified */ > + if (!nouveau_staging) { > + unsigned i; > + > + /* This keeps us safe is no staging ioctls are defined */ > + i = min(driver_stub.num_ioctls, DR...
2018 Dec 10
2
TK1: DRM, Nouveau and VIC
...s_for_each_dev) from [<c05a692c>] > > (bus_add_driver+0x1c0/0x204) > > [ 8.692004] [<c05a692c>] (bus_add_driver) from [<c05a84a0>] > > (driver_register+0x74/0x108) > > [ 8.700324] [<c05a84a0>] (driver_register) from [<bf1aa170>] > > (nouveau_drm_init+0x170/0x1000 [nouveau]) > > [ 8.709857] [<bf1aa170>] (nouveau_drm_init [nouveau]) from > > [<c0102ed0>] (do_one_initcall+0x54/0x284) > > [ 8.718980] [<c0102ed0>] (do_one_initcall) from [<c01b3dd4>] > > (do_init_module+0x64/0x214) > > [...
2016 Dec 02
2
4.9-rc7 nouveau fails on arm64 64k page kernel but works with 4k
...00085b5cb4>] bus_add_driver+0x244/0x2b0 [77216.790531] [<ffff0000085b78e4>] driver_register+0x68/0xfc [77216.796004] [<ffff0000084c29a8>] __pci_register_driver+0x60/0x6c [77216.802047] [<ffff00000137bcb8>] drm_pci_init+0x108/0x138 [drm] [77216.808146] [<ffff000001530158>] nouveau_drm_init+0x158/0x10000 [nouveau] [77216.814922] [<ffff0000080831a8>] do_one_initcall+0x44/0x128 [77216.820483] [<ffff0000081cad6c>] do_init_module+0x68/0x1e0 [77216.825957] [<ffff000008150d84>] load_module+0xfac/0x12bc [77216.831343] [<ffff00000815132c>] SyS_finit_module+0xe4/0xf0 [7...
2015 Jan 06
2
[PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions
...driver. > >> > >>>Something like the attached patch (untested) ought to do it. > >>This patch alone won't be enough for the reason I mentioned above. > >>However, if Vince doesn't mind handling the platform driver > >>registration manually in nouveau_drm_init/nouveau_drm_exit, I agree > >>this would be the way to go. > >If we do the conversion to generic power domains, the only Tegra- > >specific API remaining will be the access to the fuse registers for the > >speedo value. At that point we wouldn't need the ARCH_TEGRA de...
2015 May 21
2
[PATCH 1/2] drm/nouveau: add staging module option
...ot;, nouveau_pstate); >>> + DRM_DEBUG_DRIVER("... staging : %d\n", nouveau_staging); >>> } >>> >>> static const struct dev_pm_ops nouveau_pm_ops = { >>> @@ -1088,6 +1094,18 @@ err_free: >>> static int __init >>> nouveau_drm_init(void) >>> { >>> + /* Do not register staging ioctsl if option not specified */ >>> + if (!nouveau_staging) { >>> + unsigned i; >>> + >>> + /* This keeps us safe is no staging ioctls are defined */ >&gt...
2018 Nov 06
0
[PATCH] drm/nouveau: tegra: Initialize mode configuration
...[ 19.200383] [<c06a038c>] (bus_for_each_dev) from [<c06a1528>] (bus_add_driver+0x1c0/0x204) > [ 19.208644] [<c06a1528>] (bus_add_driver) from [<c06a30d8>] (driver_register+0x74/0x108) > [ 19.216928] [<c06a30d8>] (driver_register) from [<bf292170>] (nouveau_drm_init+0x170/0x1000 [nouveau]) > [ 19.226429] [<bf292170>] (nouveau_drm_init [nouveau]) from [<c0202dbc>] (do_one_initcall+0x54/0x284) > [ 19.235557] [<c0202dbc>] (do_one_initcall) from [<c02b2880>] (do_init_module+0x64/0x214) > [ 19.243643] [<c02b2880>] (do...
2015 Sep 17
9
[Bug 92032] New: WARNING: CPU: 0 PID: 290 at lib/dma-debug.c:1205 check_sync+0x169/0x6e0()
...460/0x460 [ 37.497413] [<c08c1c6f>] bus_add_driver+0x1ef/0x290 [ 37.497413] [<c08c39cd>] driver_register+0x5d/0xf0 [ 37.497413] [<c07dabfa>] __pci_register_driver+0x4a/0x50 [ 37.497413] [<f7e47dad>] drm_pci_init+0xdd/0x100 [drm] [ 37.497413] [<f7ee01f9>] nouveau_drm_init+0x1f9/0x1000 [nouveau] [ 37.497413] [<f7ee0000>] ? 0xf7ee0000 [ 37.497413] [<c040047a>] do_one_initcall+0xaa/0x200 [ 37.497413] [<f7ee0000>] ? 0xf7ee0000 [ 37.497413] [<c0b94aeb>] ? preempt_schedule_common+0x1b/0x40 [ 37.497413] [<c05dda14>] ? kmem_cache...
2018 Dec 10
0
TK1: DRM, Nouveau and VIC
...9] [<c05a5790>] (bus_for_each_dev) from [<c05a692c>] > (bus_add_driver+0x1c0/0x204) > [ 8.692004] [<c05a692c>] (bus_add_driver) from [<c05a84a0>] > (driver_register+0x74/0x108) > [ 8.700324] [<c05a84a0>] (driver_register) from [<bf1aa170>] > (nouveau_drm_init+0x170/0x1000 [nouveau]) > [ 8.709857] [<bf1aa170>] (nouveau_drm_init [nouveau]) from > [<c0102ed0>] (do_one_initcall+0x54/0x284) > [ 8.718980] [<c0102ed0>] (do_one_initcall) from [<c01b3dd4>] > (do_init_module+0x64/0x214) > [ 8.727079] [<c01b3dd...
2015 Jan 06
2
[PATCH nouveau 09/11] drm: export some variable and functions to resue the PM functions
...>>>Something like the attached patch (untested) ought to do it. > >> >>This patch alone won't be enough for the reason I mentioned above. > >> >>However, if Vince doesn't mind handling the platform driver > >> >>registration manually in nouveau_drm_init/nouveau_drm_exit, I agree > >> >>this would be the way to go. > >> >If we do the conversion to generic power domains, the only Tegra- > >> >specific API remaining will be the access to the fuse registers for the > >> >speedo value. At that point we...
2016 Jun 06
2
[PATCH v2] Revert "drm/nouveau/device/pci: set as non-CPU-coherent on ARM64"
...;ffffff800858d7b0>] bus_add_driver+0x1d0/0x238 [ 2.898796] [<ffffff800858ed50>] driver_register+0x60/0xf8 [ 2.898802] [<ffffff80083a20dc>] __pci_register_driver+0x3c/0x48 [ 2.898809] [<ffffff8008468eb4>] drm_pci_init+0xf4/0x120 [ 2.898818] [<ffffff8008c56fc0>] nouveau_drm_init+0x21c/0x230 [ 2.898825] [<ffffff80080829d4>] do_one_initcall+0x8c/0x190 [ 2.898832] [<ffffff8008c31af4>] kernel_init_freeable+0x14c/0x1f0 [ 2.898839] [<ffffff80088a0c20>] kernel_init+0x10/0x100 [ 2.898845] [<ffffff8008085e10>] ret_from_fork+0x10/0x40 [ 2.89885...
2013 Dec 04
3
Nouveau failing during probe followed by GPF on 3.13-rc2
...[<ffffffff8131e697>] __pci_register_driver+0x47/0x50 [ 657.802381] [<ffffffff813bc835>] drm_pci_init+0x115/0x130 [ 657.802386] [<ffffffffa0133000>] ? 0xffffffffa0132fff [ 657.802390] [<ffffffffa0133000>] ? 0xffffffffa0132fff [ 657.802414] [<ffffffffa0133043>] nouveau_drm_init+0x43/0x1000 [nouveau] [ 657.802422] [<ffffffff8100034a>] do_one_initcall+0x11a/0x170 [ 657.802429] [<ffffffff81071e33>] ? set_memory_nx+0x43/0x50 [ 657.802435] [<ffffffff8113a132>] ? __vunmap+0xb2/0x100 [ 657.802441] [<ffffffff810eeb26>] load_module+0x1966/0x21b0 [...
2016 Apr 29
1
[PATCH] Revert "drm/nouveau/device/pci: set as non-CPU-coherent on ARM64"
...;ffffff800858d7b0>] bus_add_driver+0x1d0/0x238 [ 2.898796] [<ffffff800858ed50>] driver_register+0x60/0xf8 [ 2.898802] [<ffffff80083a20dc>] __pci_register_driver+0x3c/0x48 [ 2.898809] [<ffffff8008468eb4>] drm_pci_init+0xf4/0x120 [ 2.898818] [<ffffff8008c56fc0>] nouveau_drm_init+0x21c/0x230 [ 2.898825] [<ffffff80080829d4>] do_one_initcall+0x8c/0x190 [ 2.898832] [<ffffff8008c31af4>] kernel_init_freeable+0x14c/0x1f0 [ 2.898839] [<ffffff80088a0c20>] kernel_init+0x10/0x100 [ 2.898845] [<ffffff8008085e10>] ret_from_fork+0x10/0x40 [ 2.89885...