Marcin Slusarz
fb522ee1aa
drm/nouveau: fix oops on unload with disabled LVDS panel
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=35135
BUG: unable to handle kernel NULL pointer dereference at 000002d8
IP: [<f83694af>] nv04_dfp_restore+0x7f/0xd0 [nouveau]
(...)
Call Trace:
[<f8372208>] nv04_display_destroy+0xa8/0x140 [nouveau]
[<f830344a>] nouveau_unload+0x2a/0x160 [nouveau]
[<f80d98fb>] drm_put_dev+0xbb/0x1b0 [drm]
[<f8301025>] nouveau_pci_remove+0x15/0x20 [nouveau]
[<c1292ad4>] pci_device_remove+0x44/0xf0
[<c13339d1>] __device_release_driver+0x51/0xb0
[<c133401f>] driver_detach+0x8f/0xa0
[<c13338a3>] bus_remove_driver+0x63/0xa0
[<c13340a9>] driver_unregister+0x49/0x80
[<c1182f84>] ? sysfs_remove_file+0x14/0x20
[<c1292bb2>] pci_unregister_driver+0x32/0x90
[<c109b1da>] ? __stop_machine+0x5a/0x70
[<f80d3f93>] drm_exit+0x83/0x90 [drm]
[<f837875d>] nouveau_exit+0x1b/0x8be [nouveau]
[<c1087b5b>] sys_delete_module+0x13b/0x1f0
[<c1104c3e>] ? do_munmap+0x1fe/0x280
[<c1104780>] ? arch_unmap_area_topdown+0x0/0x20
[<c15096f4>] syscall_call+0x7/0xb
Reported-by: Francesco Marella <francesco.marella@gmail.com>
Tested-by: Francesco Marella <francesco.marella@gmail.com>
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
[ currojerez@riseup.net: No need to spam the logs in that case, an
unbound LVDS encoder is not an error. ]
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-04-05 11:07:05 +10:00
..
2011-03-28 13:05:29 -07:00
2011-03-29 14:48:19 +02:00
2011-03-18 10:37:40 -07:00
2011-03-23 22:16:41 +01:00
2011-03-28 07:42:58 -07:00
2011-03-18 10:37:40 -07:00
2011-03-09 19:54:28 +01:00
2011-03-29 09:45:34 -07:00
2011-03-23 22:16:32 +01:00
2011-03-16 17:28:10 -07:00
2011-03-22 17:44:12 -07:00
2011-03-27 20:58:56 -07:00
2011-03-29 18:19:06 +02:00
2011-03-21 10:05:22 -07:00
2011-03-22 17:44:15 -07:00
2011-03-29 14:50:42 +02:00
2011-04-05 11:07:05 +10:00
2011-03-22 17:43:59 -07:00
2011-03-29 14:48:19 +02:00
2011-03-18 17:15:11 -07:00
2011-03-23 10:41:52 +01:00
2011-03-26 19:49:54 +01:00
2011-03-17 14:05:34 +01:00
2011-03-25 21:06:37 -07:00
2011-03-29 14:48:19 +02:00
2011-03-20 18:14:55 -07:00
2011-03-25 21:00:29 -07:00
2011-03-22 17:43:59 -07:00
2011-03-28 17:53:29 -07:00
2011-03-24 18:58:55 -07:00
2011-03-28 16:24:29 -07:00
2011-03-24 10:16:26 -07:00
2011-03-29 12:09:30 -07:00
2011-03-29 14:48:19 +02:00
2011-03-29 12:09:30 -07:00
2011-03-25 17:41:20 +02:00
2011-03-29 10:46:15 -07:00
2011-03-23 14:55:56 -06:00
2011-03-29 14:48:08 +02:00
2011-03-29 14:48:19 +02:00
2011-03-29 14:48:19 +02:00
2011-03-29 14:48:19 +02:00
2011-03-22 17:44:16 -07:00
2011-03-29 14:48:19 +02:00
2011-03-22 17:44:17 -07:00
2011-03-23 19:46:44 -07:00
2011-03-27 11:47:25 +01:00
2011-03-29 14:48:19 +02:00
2011-03-25 17:47:04 -07:00
2011-03-25 21:06:13 -07:00
2011-03-29 14:48:13 +02:00
2011-03-24 09:30:20 -07:00
2011-03-29 14:48:19 +02:00
2011-03-25 21:06:13 -07:00
2011-03-02 19:47:57 -05:00
2011-03-29 14:48:19 +02:00
2011-03-07 13:10:27 -08:00
2011-03-29 14:48:19 +02:00
2011-03-13 23:08:19 +02:00
2011-03-24 09:50:13 -07:00
2011-03-28 19:33:04 +02:00
2011-03-29 14:48:19 +02:00
2011-03-29 11:56:22 +00:00
2011-03-29 10:01:05 -04:00