search for: drm_pci_init

Displaying 20 results from an estimated 42 matches for "drm_pci_init".

2014 Mar 10
1
[PATCH] drm/nouveau: print a message when KMS is disabled
.../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
2012 Jun 06
0
Intel VGA-passthrough to Ubuntu12.04 64bit Dom-U doesn't work
...nd "xm create" to boot up Dom-U. Windows7-64bit-SP1 works quite well with same configuration. Boot log is as follows. Dom-U dmesg: [ 1.421858] initcall rfcomm_init+0x0/0xf1 [rfcomm] returned 0 after 2192 usecs [ 1.423021] calling i915_init+0x0/0x8d [i915] @ 387 [ 1.423023] [drm:drm_pci_init], [ 1.423038] [drm:drm_get_pci_dev], [ 1.423157] xen: --> pirq=55 -> irq=24 (gsi=24) [ 1.423159] i915 0000:00:02.0: PCI INT A -> GSI 24 (level, low) -> IRQ 24 [ 1.423224] i915 0000:00:02.0: setting latency timer to 64 [ 1.423315] [drm:drm_get_minor], [ 1.423411] initca...
2016 Dec 02
2
4.9-rc7 nouveau fails on arm64 64k page kernel but works with 4k
...;ffff0000085b6204>] driver_attach+0x2c/0x34 [77216.784972] [<ffff0000085b5cb4>] 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/0...
2015 Sep 17
9
[Bug 92032] New: WARNING: CPU: 0 PID: 290 at lib/dma-debug.c:1205 check_sync+0x169/0x6e0()
.../0x20 [ 37.497413] [<c08c2b20>] ? driver_probe_device+0x460/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_sche...
2016 Jun 06
2
[PATCH v2] Revert "drm/nouveau/device/pci: set as non-CPU-coherent on ARM64"
...;ffffff800858dbc0>] driver_attach+0x20/0x28 [ 2.898789] [<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.8...
2015 Jan 15
2
[PATCH] drm: merge nouveau_platform.ko into nouveau.ko
...rm_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); } @@ -1117,6 +1120,10 @@ nouveau_drm_exit(void) drm_pci_exit(&driver_pci, &nouveau_drm_pci_driver); nouveau_unregister_dsm_handler(); + +#ifdef CONFIG_NOUVEAU_PLATFORM_DRIVER + platform_driver_unregister(&nouveau_platform_driver); +#...
2013 Dec 04
3
Nouveau failing during probe followed by GPF on 3.13-rc2
...[<ffffffffa0133000>] ? 0xffffffffa0132fff [ 657.802365] [<ffffffff813d692f>] driver_register+0x5f/0xf0 [ 657.802370] [<ffffffffa0133000>] ? 0xffffffffa0132fff [ 657.802375] [<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...
2016 Apr 29
1
[PATCH] Revert "drm/nouveau/device/pci: set as non-CPU-coherent on ARM64"
...;ffffff800858dbc0>] driver_attach+0x20/0x28 [ 2.898789] [<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.8...
2013 Mar 05
3
nouveau lockdep splat
...6>] ? ttm_init+0x62/0x62 > [ 0.633724] [<ffffffff81433e67>] driver_register+0x77/0x170 > [ 0.633725] [<ffffffff81b21cf6>] ? ttm_init+0x62/0x62 > [ 0.633726] [<ffffffff812b4054>] __pci_register_driver+0x64/0x70 > [ 0.633728] [<ffffffff8135ac15>] drm_pci_init+0x115/0x130 > [ 0.633729] [<ffffffff81b21cf6>] ? ttm_init+0x62/0x62 > [ 0.633730] [<ffffffff81b21cf6>] ? ttm_init+0x62/0x62 > [ 0.633731] [<ffffffff81b21d43>] nouveau_drm_init+0x4d/0x4f > [ 0.633732] [<ffffffff81000312>] do_one_initcall+0x122/0x17...
2016 Dec 07
0
4.9-rc7 nouveau fails on arm64 64k page kernel but works with 4k
...;] driver_attach+0x2c/0x34 > [77216.784972] [<ffff0000085b5cb4>] 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>]...
2016 Dec 01
0
4.9-rc7 nouveau fails on arm64 64k page kernel but works with 4k
...;ffff0000085b6204>] driver_attach+0x2c/0x34 [77216.784972] [<ffff0000085b5cb4>] 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/0...
2013 Jan 03
2
3.8-rc2: EFI framebuffer lock inversion...
On 3.8-rc2 with lockdep enabled and dual-GPU setup (Macbook Pro Retina), I see two releated lock inversion issues with the EFI framebuffer, leading to possible deadlock: when X takes over from the EFI framebuffer [1] and when nouveau releases the framebuffer when being vgaswitcherood [2]. Let me know if you'd like any testing or analysis when I can get the time. Many thanks, Daniel ---
2013 Jan 15
0
nouveau lockdep splat on init
...ffff814107e9>] driver_attach+0x19/0x20 [ 40.864179] [<ffffffff81410388>] bus_add_driver+0x188/0x270 [ 40.864179] [<ffffffff81411425>] driver_register+0x75/0x150 [ 40.864179] [<ffffffff81374dcf>] __pci_register_driver+0x5f/0x70 [ 40.864179] [<ffffffffa009473a>] drm_pci_init+0x11a/0x130 [drm] [ 40.864179] [<ffffffff8140b2c0>] ? vga_switcheroo_register_handler+0x40/0x90 [ 40.864179] [<ffffffffa04a3000>] ? 0xffffffffa04a2fff [ 40.864179] [<ffffffffa04a304d>] nouveau_drm_init+0x4d/0x1000 [nouveau] [ 40.864179] [<ffffffff810001fa>] do_on...
2015 Nov 12
2
[PATCH] drm/nouveau: Fix pre-nv50 pageflip events (v3) -> v4
...7/0xa0 > [<c08c25ce>] driver_attach+0x1e/0x20 > [<c08c3070>] ? driver_probe_device+0x490/0x490 > [<c08c214f>] bus_add_driver+0x1ef/0x290 > [<c08c3bdd>] driver_register+0x5d/0xf0 > [<c07da71a>] __pci_register_driver+0x4a/0x50 > [<f7e8ef0d>] drm_pci_init+0xdd/0x100 [drm] > [<f7f211f9>] nouveau_drm_init+0x1f9/0x1000 [nouveau] > [<f7f21000>] ? 0xf7f21000 > [<c040047a>] do_one_initcall+0xaa/0x200 > [<f7f21000>] ? 0xf7f21000 > [<c04dae42>] ? rcu_read_lock_sched_held+0x42/0x80 > [<c05daf0d>] ?...
2016 Nov 13
1
[PATCH v3 1/2] nouveau/bl: Assign different names to interfaces
...u/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index 9876e6f..2b93b55 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -1113,6 +1113,7 @@ nouveau_drm_init(void) #endif nouveau_register_dsm_handler(); + nouveau_backlight_ctor(); return drm_pci_init(&driver_pci, &nouveau_drm_pci_driver); } @@ -1123,6 +1124,7 @@ nouveau_drm_exit(void) return; drm_pci_exit(&driver_pci, &nouveau_drm_pci_driver); + nouveau_backlight_dtor(); nouveau_unregister_dsm_handler(); #ifdef CONFIG_NOUVEAU_PLATFORM_DRIVER diff --git a/drivers/g...
2015 Jan 15
0
[PATCH] drm: merge nouveau_platform.ko into nouveau.ko
...4,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); > } > @@ -1117,6 +1120,10 @@ nouveau_drm_exit(void) > > drm_pci_exit(&driver_pci, &nouveau_drm_pci_driver); > nouveau_unregister_dsm_handler(); > + > +#ifdef CONFIG_NOUVEAU_PLATFORM_DRIVER > + plat...
2016 Apr 15
11
[PATCH 1/2] nouveau/bl: Assign different names to interfaces
Currently, every backlight interface created by Nouveau uses the same name, nv_backlight. This leads to a sysfs warning as it tries to create an already existing folder. This patch adds a incremented number to the name, but keeps the initial name as nv_backlight, to avoid possibly breaking userspace; the second interface will be named nv_backlight1, and so on. Fixes: fdo#86539 Signed-off-by:
2015 Nov 10
2
[PATCH] drm/nouveau: Fix pre-nv50 pageflip events (v3)
On 11/10/2015 05:00 PM, Thierry Reding wrote: > On Tue, Nov 10, 2015 at 03:54:52PM +0100, Mario Kleiner wrote: >> From: Daniel Vetter <daniel.vetter at ffwll.ch> >> >> Apparently pre-nv50 pageflip events happen before the actual vblank >> period. Therefore that functionality got semi-disabled in >> >> commit af4870e406126b7ac0ae7c7ce5751f25ebe60f28
2016 Apr 17
0
[PATCH v2 1/2] nouveau/bl: Assign different names to interfaces
...if #endif diff --git a/drm/nouveau/nouveau_drm.c b/drm/nouveau/nouveau_drm.c index d06877d..0d89d7c 100644 --- a/drm/nouveau/nouveau_drm.c +++ b/drm/nouveau/nouveau_drm.c @@ -1097,6 +1097,7 @@ nouveau_drm_init(void) #endif nouveau_register_dsm_handler(); + nouveau_backlight_ctor(); return drm_pci_init(&driver_pci, &nouveau_drm_pci_driver); } @@ -1107,6 +1108,7 @@ nouveau_drm_exit(void) return; drm_pci_exit(&driver_pci, &nouveau_drm_pci_driver); + nouveau_backlight_dtor(); nouveau_unregister_dsm_handler(); #ifdef CONFIG_NOUVEAU_PLATFORM_DRIVER diff --git a/drm/nouve...
2016 Aug 15
1
v4.8-rc2 crashes while probing nvidia graphics card on arm64
...;ffff000008690d98>] driver_attach+0x20/0x28 [ 3.571471] [<ffff0000086908d8>] bus_add_driver+0x110/0x230 [ 3.571474] [<ffff000008691f20>] driver_register+0x60/0xf8 [ 3.571479] [<ffff000008485a24>] __pci_register_driver+0x3c/0x48 [ 3.571483] [<ffff00000859245c>] drm_pci_init+0xf4/0x120 [ 3.571489] [<ffff000008e4cf7c>] nouveau_drm_init+0x20c/0x220 [ 3.571493] [<ffff0000080832a8>] do_one_initcall+0x38/0x128 [ 3.571497] [<ffff000008e20d08>] kernel_init_freeable+0x1a4/0x248 [ 3.571501] [<ffff0000089fd6d0>] kernel_init+0x10/0x100 [ 3.5...